com.android.sdklib.internal.repository.packages
Interface IMinToolsDependency

All Known Implementing Classes:
ExtraPackage, MinToolsPackage, PlatformPackage, SamplePackage

public interface IMinToolsDependency

Interface used to decorate a Package that has a dependency on a minimal tools revision, e.g. which XML has a <min-tools-rev> element.

A package that has this dependency can only be installed if the requested tools revision is present or installed at the same time.


Field Summary
static FullRevision MIN_TOOLS_REV_NOT_SPECIFIED
          The value of getMinToolsRevision() when the RepoConstants.NODE_MIN_TOOLS_REV was not specified in the XML source.
 
Method Summary
 FullRevision getMinToolsRevision()
          The minimal revision of the tools package required by this extra package if > 0, or MIN_TOOLS_REV_NOT_SPECIFIED if there is no such requirement.
 

Field Detail

MIN_TOOLS_REV_NOT_SPECIFIED

static final FullRevision MIN_TOOLS_REV_NOT_SPECIFIED
The value of getMinToolsRevision() when the RepoConstants.NODE_MIN_TOOLS_REV was not specified in the XML source.

Method Detail

getMinToolsRevision

FullRevision getMinToolsRevision()
The minimal revision of the tools package required by this extra package if > 0, or MIN_TOOLS_REV_NOT_SPECIFIED if there is no such requirement.