Class DependencyNode
java.lang.Object
com.android.builder.dependency.level2.DependencyNode
A node in the dependency graph.
It contains an unique key/coordinates that allows finding the actual dependency information.
It does contain some immutable state related to this particular usage: requested coordinates
as well as the transitive dependencies.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDependencyNode(Object address, DependencyNode.NodeType nodeType, List<DependencyNode> dependencies, com.android.builder.model.MavenCoordinates requestedCoordinates) -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns a unique address that matchesDependency.getAddress().com.google.common.collect.ImmutableList<DependencyNode>Return the direct dependency of this node.com.android.builder.model.MavenCoordinatesReturns this library's Maven coordinates, as requested in the build file.inthashCode()
-
Constructor Details
-
DependencyNode
public DependencyNode(@NonNull Object address, @NonNull DependencyNode.NodeType nodeType, @NonNull List<DependencyNode> dependencies, @Nullable com.android.builder.model.MavenCoordinates requestedCoordinates)
-
-
Method Details
-
getAddress
Returns a unique address that matchesDependency.getAddress(). -
getNodeType
-
getRequestedCoordinates
@Nullable public com.android.builder.model.MavenCoordinates getRequestedCoordinates()Returns this library's Maven coordinates, as requested in the build file. -
getDependencies
Return the direct dependency of this node. -
equals
-
hashCode
public int hashCode()
-