@Immutable
public abstract class Dependency
extends java.lang.Object
| Constructor and Description |
|---|
Dependency(java.io.File artifactFile,
com.android.builder.model.MavenCoordinates coordinates,
java.lang.String name,
java.lang.String projectPath) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
abstract java.util.List<java.io.File> |
getAdditionalClasspath() |
java.lang.Object |
getAddress()
Returns a unique address that matches
DependencyNode.getAddress(). |
java.io.File |
getArtifactFile()
Returns the artifact location.
|
abstract java.io.File |
getClasspathFile() |
com.android.builder.model.MavenCoordinates |
getCoordinates()
Returns the maven coordinates.
|
java.lang.String |
getName()
Returns a user friendly name.
|
java.lang.String |
getProjectPath()
Returns an optional project path if the dependency is a sub-module.
|
int |
hashCode() |
boolean |
isLocal() |
public Dependency(@Nullable
java.io.File artifactFile,
@NonNull
com.android.builder.model.MavenCoordinates coordinates,
@NonNull
java.lang.String name,
@Nullable
java.lang.String projectPath)
@NonNull public java.lang.Object getAddress()
DependencyNode.getAddress().@NonNull public java.io.File getArtifactFile()
@NonNull public abstract java.io.File getClasspathFile()
@Nullable public abstract java.util.List<java.io.File> getAdditionalClasspath()
@NonNull public com.android.builder.model.MavenCoordinates getCoordinates()
@NonNull public java.lang.String getName()
@Nullable public java.lang.String getProjectPath()
public boolean isLocal()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object