Class MvnProject_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.maven.project.MvnProject_1_0
-
@MavenExtensionVersion(since="1.0") public class MvnProject_1_0 extends Object
Details about a project.
-
-
Field Summary
Fields Modifier and Type Field Description String
artifactId
The artifact ID of the project.List<Integer>
children
The indexes of the project's direct child projects.boolean
excluded
Whether the project was excluded from the build.String
groupId
The group ID of the project.long
id
The ID of the project.@Nullable String
name
The name of the project.String
packaging
The packaging of the project.String
pomVersion
The version of the POM file declaring this project.@Nullable("when the project doesn\'t have a pom file") MvnFileRef_1_0
projectDir
The project directory.String
version
The version of the project.
-
Constructor Summary
Constructors Constructor Description MvnProject_1_0(long id, @Nullable String name, String groupId, String artifactId, String packaging, String version, @Nullable MvnFileRef_1_0 projectDir, String pomVersion, List<Integer> children, boolean excluded)
-
-
-
Field Detail
-
id
public final long id
The ID of the project.
-
name
@Nullable public final @Nullable String name
The name of the project.Can be null if the same as the
artifactId
.
-
groupId
public final String groupId
The group ID of the project.
-
artifactId
public final String artifactId
The artifact ID of the project.
-
packaging
public final String packaging
The packaging of the project.
-
version
public final String version
The version of the project.
-
projectDir
@Nullable("when the project doesn\'t have a pom file") public final @Nullable("when the project doesn\'t have a pom file") MvnFileRef_1_0 projectDir
The project directory.
-
pomVersion
public final String pomVersion
The version of the POM file declaring this project.
-
children
public final List<Integer> children
The indexes of the project's direct child projects.An index can be used to look up a child project in
MvnProjectStructure_1_0.projects
.
-
excluded
public final boolean excluded
Whether the project was excluded from the build.
-
-