AndroidSdkHandler
/RepoManager
and associated classes instead.@Deprecated public enum PkgType extends java.lang.Enum<PkgType>
Integer bit values indicate the natural ordering of the packages.
Enum Constant and Description |
---|
PKG_ADDON
Deprecated.
Filter the SDK/addons.
|
PKG_ADDON_SYS_IMAGE
Deprecated.
Filter the SDK/system-images/addons.
|
PKG_BUILD_TOOLS
Deprecated.
Filter the SDK/build-tools folder.
|
PKG_DOC
Deprecated.
Filter the SDK/docs folder.
|
PKG_EXTRA
Deprecated.
Filter the SDK/extras folder.
|
PKG_LLDB
Deprecated.
The SDK/lldb folder.
|
PKG_NDK
Deprecated.
The SDK/ndk folder.
|
PKG_PLATFORM
Deprecated.
Filter the SDK/platforms.
|
PKG_PLATFORM_TOOLS
Deprecated.
Filter the SDK/platform-tools folder.
|
PKG_SAMPLE
Deprecated.
Filter the SDK/samples folder.
|
PKG_SOURCE
Deprecated.
Filter the SDK/sources folder.
|
PKG_SYS_IMAGE
Deprecated.
Filter the SDK/system-images/android.
|
PKG_TOOLS
Deprecated.
Filter the SDK/tools folder.
|
Modifier and Type | Field and Description |
---|---|
static java.util.EnumSet<PkgType> |
PKG_ALL
Deprecated.
A collection of all the known PkgTypes.
|
static int |
PKG_ALL_INT
Deprecated.
Integer value matching all available pkg types, for the old LocalSdkParer.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFolderName()
Deprecated.
Returns the name of SDK top-folder where this type of package is stored.
|
int |
getIntValue()
Deprecated.
Returns the integer value matching the type, compatible with the old LocalSdkParer.
|
java.lang.String |
getListDisplayPattern()
Deprecated.
|
boolean |
hasAndroidVersion()
Deprecated.
|
boolean |
hasMinPlatformToolsRev()
Deprecated.
|
boolean |
hasMinToolsRev()
Deprecated.
|
boolean |
hasName()
Deprecated.
|
boolean |
hasPath()
Deprecated.
|
boolean |
hasTag()
Deprecated.
|
boolean |
hasVendor()
Deprecated.
|
static PkgType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static PkgType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PkgType PKG_TOOLS
Revision
.public static final PkgType PKG_PLATFORM_TOOLS
Revision
.public static final PkgType PKG_BUILD_TOOLS
Revision
.public static final PkgType PKG_DOC
Revision
.public static final PkgType PKG_PLATFORM
AndroidVersion
. Has Revision
.
Path returns the platform's target hash.public static final PkgType PKG_SYS_IMAGE
AndroidVersion
. Has Revision
. Has tag.
Path returns the system image ABI.public static final PkgType PKG_ADDON
AndroidVersion
. Has Revision
.
Path returns the add-on's target hash.public static final PkgType PKG_ADDON_SYS_IMAGE
AndroidVersion
. Has Revision
. Has tag.
Path returns the system image ABI.public static final PkgType PKG_SAMPLE
AndroidVersion
. Has Revision
.public static final PkgType PKG_SOURCE
AndroidVersion
. Has Revision
.public static final PkgType PKG_EXTRA
Path
. Has Revision
.
Path returns the combined vendor id + extra path.
Cast the descriptor to IPkgDescExtra
to get extra's specific attributes.public static final PkgType PKG_NDK
public static final PkgType PKG_LLDB
public static final java.util.EnumSet<PkgType> PKG_ALL
public static final int PKG_ALL_INT
public static PkgType[] values()
for (PkgType c : PkgType.values()) System.out.println(c);
public static PkgType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getIntValue()
@NonNull public java.lang.String getFolderName()
public boolean hasAndroidVersion()
public boolean hasPath()
public boolean hasTag()
public boolean hasVendor()
public boolean hasName()
public boolean hasMinToolsRev()
public boolean hasMinPlatformToolsRev()
public java.lang.String getListDisplayPattern()