Class Component_1_0
java.lang.Object
com.gradle.scan.eventmodel.gradle.dependencies.Component_1_0
A component of a resolved dependency graph.
-
Field Summary
FieldsModifier and TypeFieldDescriptionA list of indexes of the dependencies of the component.final ComponentIdentityThe identifier of the component.final @Nullable("if reason is EXPECTED") ComponentSelectionReason_1The reason the component was selected in the dependency resolution. -
Constructor Summary
ConstructorsConstructorDescriptionComponent_1_0(ComponentIdentity identity, @Nullable ComponentSelectionReason_1 selectionReason, List<Integer> dependencies) -
Method Summary
-
Field Details
-
identity
The identifier of the component. -
selectionReason
@Nullable("if reason is EXPECTED") public final @Nullable("if reason is EXPECTED") ComponentSelectionReason_1 selectionReasonThe reason the component was selected in the dependency resolution. -
dependencies
A list of indexes of the dependencies of the component.An index can be used to lookup the
ComponentDependency_1_0instance fromConfigurationResolutionResult_1_0.dependencies.
-
-
Constructor Details
-
Component_1_0
public Component_1_0(ComponentIdentity identity, @Nullable @Nullable ComponentSelectionReason_1 selectionReason, List<Integer> dependencies)
-
-
Method Details