Class ComponentDependency_2_0
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.dependencies.ComponentDependency_2_0
-
- Direct Known Subclasses:
ComponentDependency_2_1
@PluginVersion(since="1.3", until="2.3") public class ComponentDependency_2_0 extends Object
A component dependency.
-
-
Field Summary
Fields Modifier and Type Field Description @Nullable("when the resolution succeeds") Long
attempted
The identifier of the component that was attempted to be resolved.@Nullable("when the resolution succeeds, if the attempted was expected or in ComponentDependency_2_1 or later") Integer
attemptedReason
The reason why the attempted component was attempted.@Nullable("when requested is not different to selected or attempted") Long
requested
The identifier of the requested component.@Nullable("when the resolution fails") Long
to
The id of the selected component identity when dependency resolution has been successful.
-
Constructor Summary
Constructors Constructor Description ComponentDependency_2_0(@Nullable Long requested, @Nullable Long to, @Nullable Long attempted, @Nullable Integer attemptedReason)
-
-
-
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") Long requested
The identifier of the requested component.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") Long to
The id of the selected component identity when dependency resolution has been successful.null
when dependency resolution has failed.
-
attempted
@Nullable("when the resolution succeeds") public final @Nullable("when the resolution succeeds") Long attempted
The identifier of the component that was attempted to be resolved.null
when dependency resolution was successful.
-
attemptedReason
@Nullable("when the resolution succeeds, if the attempted was expected or in ComponentDependency_2_1 or later") public final @Nullable("when the resolution succeeds, if the attempted was expected or in ComponentDependency_2_1 or later") Integer attemptedReason
The reason why the attempted component was attempted.null
when the resolution was successful or if the attempted was expected or in ComponentDependency_2_1 or later.
-
-