com.android.repository.testframework
Class FakeDependency
java.lang.Object
com.android.repository.api.Dependency
com.android.repository.testframework.FakeDependency
public class FakeDependency
- extends Dependency
A Dependency for use in FakePackage.
|
Constructor Summary |
FakeDependency(java.lang.String path)
|
FakeDependency(java.lang.String path,
java.lang.Integer major,
java.lang.Integer minor,
java.lang.Integer micro)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FakeDependency
public FakeDependency(java.lang.String path)
FakeDependency
public FakeDependency(java.lang.String path,
java.lang.Integer major,
java.lang.Integer minor,
java.lang.Integer micro)
getPath
@NonNull
public java.lang.String getPath()
- Specified by:
getPath in class Dependency
- Returns:
- The path uniquely identifying the other package.
getMinRevision
@Nullable
public RevisionType getMinRevision()
- Overrides:
getMinRevision in class Dependency
- Returns:
- The minimum revision of the other package required.