Class ComponentDependency_3_0
java.lang.Object
com.gradle.scan.eventmodel.gradle.dependencies.ComponentDependency_3_0
A component dependency.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal @Nullable("when the resolution fails") IntegerThe index withinConfigurationResolutionData_2_0.identitiesof the component identity that was attempted to be resolved.The list of indices withinConfigurationResolutionData_2_0.selectionDescriptorsof the reasons why the attempted component was attempted.List of indices withinConfigurationResolutionData_2_0.attributesof requested attributes for the dependency.List of indices withinConfigurationResolutionData_2_0.capabilitiesof requested capabilities for the dependency.final booleanFlag to indicate whether this dependency was resolved using a constraint.final @Nullable("when requested is not different to selected or attempted") IntegerThe index withinConfigurationResolutionData_2_0.identitiesof the requested component identity.final @Nullable("when the resolution fails") IntegerThe index withinConfigurationResolutionData_2_0.identitiesof the selected component identity. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
requested
@Nullable("when requested is not different to selected or attempted") public final @Nullable("when requested is not different to selected or attempted") Integer requestedThe index withinConfigurationResolutionData_2_0.identitiesof the requested component identity.nullwhen the requested component is not different to the selected or attempted. -
to
@Nullable("when the resolution fails") public final @Nullable("when the resolution fails") Integer toThe index withinConfigurationResolutionData_2_0.identitiesof the selected component identity.nullwhen dependency resolution has failed. -
attempted
@Nullable("when the resolution fails") public final @Nullable("when the resolution fails") Integer attemptedThe index withinConfigurationResolutionData_2_0.identitiesof the component identity that was attempted to be resolved.nullwhen dependency resolution was successful. -
attemptedReasons
@Nullable("when the resolution succeeds or if the attempted was expected") public final @Nullable("when the resolution succeeds or if the attempted was expected") List<Integer> attemptedReasonsThe list of indices withinConfigurationResolutionData_2_0.selectionDescriptorsof the reasons why the attempted component was attempted.Empty if the resolution failed, but there were no reasons.
nullif the resolution succeeds or if the attempted was expected -
attributes
@GradleVersion(since="5.6") @Nullable("For Gradle < 5.6") public final @Nullable("For Gradle < 5.6") List<Integer> attributesList of indices withinConfigurationResolutionData_2_0.attributesof requested attributes for the dependency.Empty if there were no specific attributes requested.
nullfor Gradle < 5.6. -
capabilities
@GradleVersion(since="5.6") @Nullable("For Gradle < 5.6") public final @Nullable("For Gradle < 5.6") List<Integer> capabilitiesList of indices withinConfigurationResolutionData_2_0.capabilitiesof requested capabilities for the dependency.Empty if there were no specific capabilities requested.
nullfor Gradle < 5.6. -
constraint
public final boolean constraintFlag to indicate whether this dependency was resolved using a constraint.
-
-
Constructor Details
-
ComponentDependency_3_0
public ComponentDependency_3_0(@Nullable @Nullable Integer requested, @Nullable @Nullable Integer to, @Nullable @Nullable Integer attempted, @Nullable @Nullable List<Integer> attemptedReasons, @Nullable @Nullable List<Integer> attributes, @Nullable @Nullable List<Integer> capabilities, boolean constraint)
-
-
Method Details