Class ComponentDependency_3_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.dependencies.ComponentDependency_3_0
-
@PluginVersion(since="3.2") public class ComponentDependency_3_0 extends Object
A component dependency.
-
-
Field Summary
Fields Modifier and Type Field Description @Nullable("when the resolution fails") Integer
attempted
The index withinConfigurationResolutionData_2_0.identities
of the component identity that was attempted to be resolved.@Nullable("when the resolution succeeds or if the attempted was expected") List<Integer>
attemptedReasons
The list of indices withinConfigurationResolutionData_2_0.selectionDescriptors
of the reasons why the attempted component was attempted.@Nullable("For Gradle < 5.6") List<Integer>
attributes
List of indices withinConfigurationResolutionData_2_0.attributes
of requested attributes for the dependency.@Nullable("For Gradle < 5.6") List<Integer>
capabilities
List of indices withinConfigurationResolutionData_2_0.capabilities
of requested capabilities for the dependency.boolean
constraint
Flag to indicate whether this dependency was resolved using a constraint.@Nullable("when requested is not different to selected or attempted") Integer
requested
The index withinConfigurationResolutionData_2_0.identities
of the requested component identity.@Nullable("when the resolution fails") Integer
to
The index withinConfigurationResolutionData_2_0.identities
of the selected component identity.
-
-
-
Field Detail
-
requested
@Nullable("when requested is not different to selected or attempted") public final @Nullable("when requested is not different to selected or attempted") Integer requested
The index withinConfigurationResolutionData_2_0.identities
of the requested component identity.null
when 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 to
The index withinConfigurationResolutionData_2_0.identities
of the selected component identity.null
when dependency resolution has failed.
-
attempted
@Nullable("when the resolution fails") public final @Nullable("when the resolution fails") Integer attempted
The index withinConfigurationResolutionData_2_0.identities
of the component identity that was attempted to be resolved.null
when 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> attemptedReasons
The list of indices withinConfigurationResolutionData_2_0.selectionDescriptors
of the reasons why the attempted component was attempted.Empty if the resolution failed, but there were no reasons.
null
if 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> attributes
List of indices withinConfigurationResolutionData_2_0.attributes
of requested attributes for the dependency.Empty if there were no specific attributes requested.
null
for Gradle < 5.6.
-
capabilities
@GradleVersion(since="5.6") @Nullable("For Gradle < 5.6") public final @Nullable("For Gradle < 5.6") List<Integer> capabilities
List of indices withinConfigurationResolutionData_2_0.capabilities
of requested capabilities for the dependency.Empty if there were no specific capabilities requested.
null
for Gradle < 5.6.
-
constraint
public final boolean constraint
Flag to indicate whether this dependency was resolved using a constraint.
-
-
Constructor Detail
-
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)
-
-