com.android.sdklib.internal.repository.packages
Interface IMinPlatformToolsDependency
- All Known Implementing Classes:
- ToolPackage
public interface IMinPlatformToolsDependency
Interface used to decorate a Package that has a dependency
on a minimal platform-tools revision, e.g. which XML has a
<min-platform-tools-rev> element.
A package that has this dependency can only be installed if the requested platform-tools
revision is present or installed at the same time.
MIN_PLATFORM_TOOLS_REV_INVALID
static final FullRevision MIN_PLATFORM_TOOLS_REV_INVALID
- The value of
getMinPlatformToolsRevision() when the
RepoConstants.NODE_MIN_PLATFORM_TOOLS_REV was not specified in the XML source.
Since this is a required attribute in the XML schema, it can only happen when dealing
with an invalid repository XML.
getMinPlatformToolsRevision
FullRevision getMinPlatformToolsRevision()
- The minimal revision of the tools package required by this package if > 0,
or
MIN_PLATFORM_TOOLS_REV_INVALID if the value was missing.
This attribute is mandatory and should not be normally missing.
It can only happen when dealing with an invalid repository XML.