Class Component_1_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.dependencies.Component_1_0
-
@PluginVersion(since="1.0", until="1.2") public final class Component_1_0 extends Object
A component of a resolved dependency graph.
-
-
Field Summary
Fields Modifier and Type Field Description List<Integer>
dependencies
A list of indexes of the dependencies of the component.ComponentIdentity
identity
The identifier of the component.@Nullable("if reason is EXPECTED") ComponentSelectionReason_1
selectionReason
The reason the component was selected in the dependency resolution.
-
Constructor Summary
Constructors Constructor Description Component_1_0(ComponentIdentity identity, @Nullable ComponentSelectionReason_1 selectionReason, List<Integer> dependencies)
-
-
-
Field Detail
-
identity
public final ComponentIdentity identity
The identifier of the component.
-
selectionReason
@Nullable("if reason is EXPECTED") public final @Nullable("if reason is EXPECTED") ComponentSelectionReason_1 selectionReason
The reason the component was selected in the dependency resolution.
-
dependencies
public final List<Integer> dependencies
A list of indexes of the dependencies of the component.An index can be used to lookup the
ComponentDependency_1_0
instance fromConfigurationResolutionResult_1_0.dependencies
.
-
-
Constructor Detail
-
Component_1_0
public Component_1_0(ComponentIdentity identity, @Nullable @Nullable ComponentSelectionReason_1 selectionReason, List<Integer> dependencies)
-
-