Class Component_2_0

java.lang.Object
com.gradle.scan.eventmodel.gradle.dependencies.Component_2_0
Direct Known Subclasses:
Component_2_1

@PluginVersion(since="1.3", until="1.15") public class Component_2_0 extends Object
A component of a resolved dependency graph.
  • Field Details

    • identity

      public final long identity
      The id of the identity located in ConfigurationResolutionData_1_0
    • selectionReason

      @Nullable("if reason is EXPECTED or in Build Scan plugin 2.4+") public final @Nullable("if reason is EXPECTED or in Build Scan plugin 2.4+") Integer selectionReason
      The reason the component was selected in the dependency resolution.
    • dependencies

      public final List<Long> dependencies
      A list of ids of the dependencies of the component.

      An id can be used to lookup the ComponentDependency_2_0 instance from ConfigurationResolutionData_1_0.dependencies.

  • Constructor Details

    • Component_2_0

      public Component_2_0(long identity, @Nullable @Nullable Integer selectionReason, List<Long> dependencies)
  • Method Details