Package com.android.repository.api
Class Dependency
- java.lang.Object
-
- com.android.repository.api.Dependency
-
- Direct Known Subclasses:
DependencyType,DependencyType
public abstract class Dependency extends java.lang.ObjectA dependency of one package on another. Concrete instances should be created byCommonFactory.
-
-
Constructor Summary
Constructors Constructor Description Dependency()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description RevisionTypegetMinRevision()abstract java.lang.StringgetPath()java.lang.BooleanisSoft()voidsetMinRevision(RevisionType revision)voidsetPath(java.lang.String id)voidsetSoft(java.lang.Boolean soft)
-
-
-
Method Detail
-
getMinRevision
@Nullable public RevisionType getMinRevision()
- Returns:
- The minimum revision of the other package required.
-
setMinRevision
public void setMinRevision(@Nullable RevisionType revision)- Parameters:
revision- The minimum revision of the other package required.
-
getPath
@NonNull public abstract java.lang.String getPath()
- Returns:
- The path uniquely identifying the other package.
-
setPath
public void setPath(@NonNull java.lang.String id)- Parameters:
id- The path uniquely identifying the other package.
-
isSoft
@Nullable public java.lang.Boolean isSoft()
-
setSoft
public void setSoft(java.lang.Boolean soft)
-
-