com.android.repository.testframework
Class FakeDependency

java.lang.Object
  extended by com.android.repository.api.Dependency
      extended by 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)
           
 
Method Summary
 RevisionType getMinRevision()
           
 java.lang.String getPath()
           
 
Methods inherited from class com.android.repository.api.Dependency
setMinRevision, setPath
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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.