Class Component_2_1
- java.lang.Object
-
- com.gradle.scan.eventmodel.gradle.dependencies.Component_2_0
-
- com.gradle.scan.eventmodel.gradle.dependencies.Component_2_1
-
- Direct Known Subclasses:
Component_2_2
@PluginVersion(since="1.16", until="2.3") public class Component_2_1 extends Component_2_0
A component of a resolved dependency graph.
-
-
Field Summary
Fields Modifier and Type Field Description @Nullable("when the component was not sourced from a repository, or for Gradle < 4.10") Long
repositoryId
TheRepository_1_0.id
used as source of this component.-
Fields inherited from class com.gradle.scan.eventmodel.gradle.dependencies.Component_2_0
dependencies, identity, selectionReason
-
-
Constructor Summary
Constructors Constructor Description Component_2_1(long identity, @Nullable Integer selectionReason, List<Long> dependencies, @Nullable Long repositoryId)
-
-
-
Field Detail
-
repositoryId
@Nullable("when the component was not sourced from a repository, or for Gradle < 4.10") public final @Nullable("when the component was not sourced from a repository, or for Gradle < 4.10") Long repositoryId
TheRepository_1_0.id
used as source of this component.null
when the component was not sourced from a repository (such as a a component with an identity ofProjectComponentIdentity_1_0
), or for Gradle < 4.10.
-
-
Method Detail
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classComponent_2_0
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classComponent_2_0
-
toString
public String toString()
- Overrides:
toString
in classComponent_2_0
-
-