Class MvnDependencyResolutionResult_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.maven.dependencies.MvnDependencyResolutionResult_1_0
-
@MavenExtensionVersion(since="1.4") public class MvnDependencyResolutionResult_1_0 extends Object
Details about the result of dependency resolution.
-
-
Field Summary
Fields Modifier and Type Field Description List<Integer>
components
List of non-unique-identity components resolved by this resolution.@Nullable("if there are no failed dependencies") Map<Integer,Map<Integer,List<Integer>>>
dependencyToIdentityToFailure
Mapping of dependencies to failures.boolean
failed
Whether the resolution failed or not.@Nullable("when no repositories can be captured (e.g. for Maven < 3.5)") List<Long>
repositories
List of repositories used by this resolution.int
root
Root component of the graph.
-
-
-
Field Detail
-
failed
public final boolean failed
Whether the resolution failed or not.
-
root
public final int root
Root component of the graph.Index into
MvnDependencyResolutionData_1_0.identities
.
-
components
public final List<Integer> components
List of non-unique-identity components resolved by this resolution.All components resolved by this resolution, excluding those which have an identity that is only used in that component. (These excluded components can be derived from
MvnDependencyResolutionData_1_0.components
.)Index into
MvnDependencyResolutionData_1_0.components
.
-
repositories
@Nullable("when no repositories can be captured (e.g. for Maven < 3.5)") public final @Nullable("when no repositories can be captured (e.g. for Maven < 3.5)") List<Long> repositories
List of repositories used by this resolution.References
MvnRepository_1_0.id
.
-
dependencyToIdentityToFailure
@Nullable("if there are no failed dependencies") public final @Nullable("if there are no failed dependencies") Map<Integer,Map<Integer,List<Integer>>> dependencyToIdentityToFailure
Mapping of dependencies to failures.Keys in the top level map are dependency indexes into
MvnDependencyResolutionData_1_0.dependencies
.Values are a map of dependent identity index into
MvnDependencyResolutionData_1_0.identities
to failure ID index intoMvnDependencyResolutionData_1_0.failureIds
.
-
-