Class MvnComponentDependency_1_0

java.lang.Object
com.gradle.scan.eventmodel.maven.dependencies.MvnComponentDependency_1_0

@MavenExtensionVersion(since="1.4") public class MvnComponentDependency_1_0 extends Object
A component dependency.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final @Nullable("when resolution was successful") Integer
    The attempted identity, when resolution failed.
    final boolean
    Whether the dependency was optional.
    final @Nullable("when resolution was unsuccessful or when requested identity was same as the resolved identity") Integer
    The requested identity, when resolution succeeded and is different to the resolved identity.
    final String
    The dependency scope.
    final @Nullable("when resolution was unsuccessful") Integer
    The resolved identity, when resolution succeeded.
    final String
    The dependency type.
  • Constructor Summary

    Constructors
    Constructor
    Description
    MvnComponentDependency_1_0(@Nullable Integer requested, @Nullable Integer to, @Nullable Integer attempted, boolean optional, String scope, String type)
     
  • 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 resolution was unsuccessful or when requested identity was same as the resolved identity") public final @Nullable("when resolution was unsuccessful or when requested identity was same as the resolved identity") Integer requested
      The requested identity, when resolution succeeded and is different to the resolved identity.

      Index into MvnDependencyResolutionData_1_0.identities.

    • to

      @Nullable("when resolution was unsuccessful") public final @Nullable("when resolution was unsuccessful") Integer to
      The resolved identity, when resolution succeeded.

      Index into MvnDependencyResolutionData_1_0.identities.

    • attempted

      @Nullable("when resolution was successful") public final @Nullable("when resolution was successful") Integer attempted
      The attempted identity, when resolution failed.

      Index into MvnDependencyResolutionData_1_0.identities.

    • optional

      public final boolean optional
      Whether the dependency was optional.
    • scope

      public final String scope
      The dependency scope.
    • type

      public final String type
      The dependency type.
  • Constructor Details

    • MvnComponentDependency_1_0

      public MvnComponentDependency_1_0(@Nullable @Nullable Integer requested, @Nullable @Nullable Integer to, @Nullable @Nullable Integer attempted, boolean optional, String scope, String type)
  • Method Details