com.android.sdklib.repository.local
Class LocalPlatformPkgInfo
java.lang.Object
com.android.sdklib.repository.local.LocalPkgInfo
com.android.sdklib.repository.local.LocalPlatformPkgInfo
- All Implemented Interfaces:
- IDescription, IListDescription, java.lang.Comparable<LocalPkgInfo>
- Direct Known Subclasses:
- LocalAddonPkgInfo
public class LocalPlatformPkgInfo
- extends LocalPkgInfo
Methods inherited from class com.android.sdklib.repository.local.LocalPkgInfo |
compareTo, delete, equals, getListDescription, getLoadError, getLocalDir, getLocalSdk, getLongDescription, getShortDescription, getSourceProperties, hashCode, hasLoadError, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PROP_VERSION_SDK
public static final java.lang.String PROP_VERSION_SDK
- See Also:
- Constant Field Values
PROP_VERSION_CODENAME
public static final java.lang.String PROP_VERSION_CODENAME
- See Also:
- Constant Field Values
PROP_VERSION_RELEASE
public static final java.lang.String PROP_VERSION_RELEASE
- See Also:
- Constant Field Values
LocalPlatformPkgInfo
public LocalPlatformPkgInfo(@NonNull
LocalSdk localSdk,
@NonNull
java.io.File localDir,
@NonNull
java.util.Properties sourceProps,
@NonNull
AndroidVersion version,
@NonNull
MajorRevision revision,
@NonNull
FullRevision minToolsRev)
getDesc
@NonNull
public IPkgDesc getDesc()
- Description copied from class:
LocalPkgInfo
- Returns the
IPkgDesc
describing this package.
- Specified by:
getDesc
in class LocalPkgInfo
getTargetHash
@NonNull
public java.lang.String getTargetHash()
- The "path" of a Platform is its Target Hash.
getAndroidTarget
@Nullable
public IAndroidTarget getAndroidTarget()
isLoaded
public boolean isLoaded()
createAndroidTarget
@Nullable
protected IAndroidTarget createAndroidTarget()
- Creates the PlatformTarget. Invoked by
getAndroidTarget()
.