com.android.sdklib.repository.local
Class LocalAddonPkgInfo
java.lang.Object
com.android.sdklib.repository.local.LocalPkgInfo
com.android.sdklib.repository.local.LocalPlatformPkgInfo
com.android.sdklib.repository.local.LocalAddonPkgInfo
- All Implemented Interfaces:
- com.android.sdklib.internal.repository.IListDescription, java.lang.Comparable<LocalPkgInfo>
public class LocalAddonPkgInfo
- extends LocalPlatformPkgInfo
Methods inherited from class com.android.sdklib.repository.local.LocalPkgInfo |
compareTo, equals, getListDescription, getLoadError, getLocalDir, getLocalSdk, getSourceProperties, getUpdate, hashCode, hasLoadError, hasUpdate, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ADDON_NAME
public static final java.lang.String ADDON_NAME
- See Also:
- Constant Field Values
ADDON_VENDOR
public static final java.lang.String ADDON_VENDOR
- See Also:
- Constant Field Values
ADDON_API
public static final java.lang.String ADDON_API
- See Also:
- Constant Field Values
ADDON_DESCRIPTION
public static final java.lang.String ADDON_DESCRIPTION
- See Also:
- Constant Field Values
ADDON_LIBRARIES
public static final java.lang.String ADDON_LIBRARIES
- See Also:
- Constant Field Values
ADDON_DEFAULT_SKIN
public static final java.lang.String ADDON_DEFAULT_SKIN
- See Also:
- Constant Field Values
ADDON_USB_VENDOR
public static final java.lang.String ADDON_USB_VENDOR
- See Also:
- Constant Field Values
ADDON_REVISION
public static final java.lang.String ADDON_REVISION
- See Also:
- Constant Field Values
ADDON_REVISION_OLD
public static final java.lang.String ADDON_REVISION_OLD
- See Also:
- Constant Field Values
LocalAddonPkgInfo
public LocalAddonPkgInfo(@NonNull
LocalSdk localSdk,
@NonNull
java.io.File localDir,
@NonNull
java.util.Properties sourceProps,
@NonNull
AndroidVersion version,
@NonNull
MajorRevision revision)
getDesc
@NonNull
public IPkgDesc getDesc()
- Description copied from class:
LocalPkgInfo
- Returns the
IPkgDesc
describing this package.
- Overrides:
getDesc
in class LocalPlatformPkgInfo
getVendorId
@NonNull
public java.lang.String getVendorId()
getTargetHash
@NonNull
public java.lang.String getTargetHash()
- Description copied from class:
LocalPlatformPkgInfo
- The "path" of a Platform is its Target Hash.
- Overrides:
getTargetHash
in class LocalPlatformPkgInfo
createPackage
@Nullable
protected com.android.sdklib.internal.repository.packages.Package createPackage()
- Creates an AddonPackage wrapping the IAndroidTarget if defined.
Invoked by
LocalPlatformPkgInfo.getPackage()
.
- Overrides:
createPackage
in class LocalPlatformPkgInfo
- Returns:
- A Package or null if target isn't available.
createAndroidTarget
@Nullable
protected IAndroidTarget createAndroidTarget()
- Creates the AddOnTarget. Invoked by
LocalPlatformPkgInfo.getAndroidTarget()
.
- Overrides:
createAndroidTarget
in class LocalPlatformPkgInfo