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
    final @Nullable("when the resolution succeeds") Long
    The identifier of the component that was attempted to be resolved.
    final @Nullable("when the resolution succeeds, if the attempted was expected or in ComponentDependency_2_1 or later") Integer
    The reason why the attempted component was attempted.
    final @Nullable("when requested is not different to selected or attempted") Long
    The identifier of the requested component.
    final @Nullable("when the resolution fails") Long
    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)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    int
     
     

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • 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") 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.

  • Constructor Details

    • ComponentDependency_2_0

      public ComponentDependency_2_0(@Nullable @Nullable Long requested, @Nullable @Nullable Long to, @Nullable @Nullable Long attempted, @Nullable @Nullable Integer attemptedReason)
  • Method Details