Class ComponentDependency_2_1
java.lang.Object
com.gradle.scan.eventmodel.gradle.dependencies.ComponentDependency_2_0
com.gradle.scan.eventmodel.gradle.dependencies.ComponentDependency_2_1
@PluginVersion(since="2.4",
until="3.1")
public class ComponentDependency_2_1
extends ComponentDependency_2_0
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe reasons why the attempted component was attempted.List of requested attributes for the dependency.List of requested capabilities for the dependency.final booleanFlag to indicate whether this dependency was resolved using a constraint.Fields inherited from class com.gradle.scan.eventmodel.gradle.dependencies.ComponentDependency_2_0
attempted, attemptedReason, requested, to -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
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<Long> attemptedReasonsThe reasons why the attempted component was attempted.These are IDs to interned selection descriptors on
ConfigurationResolutionData_1_3.selectionDescriptors.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<Long> attributesList of requested attributes for the dependency.These are IDs to interned attributes on
ConfigurationResolutionData_1_3.attributes.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<Long> capabilitiesList of requested capabilities for the dependency.These are IDs to interned capabilities on
ConfigurationResolutionData_1_3.capabilities.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_2_1
-
-
Method Details
-
equals
- Overrides:
equalsin classComponentDependency_2_0
-
hashCode
public int hashCode()- Overrides:
hashCodein classComponentDependency_2_0
-
toString
- Overrides:
toStringin classComponentDependency_2_0
-