AndroidSdkHandler
/RepoManager
and associated classes instead.@Deprecated public final class PkgDescExtra extends PkgDesc implements IPkgDescExtra
IPkgDescExtra
for extra packages.PkgDesc.Builder, PkgDesc.IGetPath, PkgDesc.IIsUpdateFor
Modifier and Type | Method and Description |
---|---|
static boolean |
compatibleVendorAndPath(IPkgDescExtra lhs,
IPkgDescExtra rhs)
Deprecated.
Helper to computhe whether the extra path of both
IPkgDescExtra s
are compatible with each other, which means they are either equal or are
matched between existing path and the potential old paths list. |
static java.lang.String[] |
convertOldPaths(java.lang.String oldPathsProperty)
Deprecated.
Helper method that converts the old_paths property string into the
an old paths array.
|
java.lang.String |
getNameDisplay()
Deprecated.
Returns the display name of the Extra.
|
java.lang.String[] |
getOldPaths()
Deprecated.
Returns an optional list of older paths for this extra package.
|
compareTo, equals, getAndroidVersion, getBaseInstallId, getCanonicalInstallFolder, getDescriptionShort, getDescriptionUrl, getInstallId, getLicense, getListDescription, getListDisplay, getMinPlatformToolsRev, getMinToolsRev, getName, getPath, getRevision, getTag, getType, getVendor, hasAndroidVersion, hashCode, hasMinPlatformToolsRev, hasMinToolsRev, hasName, hasPath, hasTag, hasVendor, isObsolete, isPreview, isUpdateFor, isUpdateFor, patternReplaceImpl, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAndroidVersion, getBaseInstallId, getCanonicalInstallFolder, getDescriptionShort, getDescriptionUrl, getInstallId, getLicense, getListDescription, getListDisplay, getMinPlatformToolsRev, getMinToolsRev, getName, getPath, getRevision, getTag, getType, getVendor, hasAndroidVersion, hasMinPlatformToolsRev, hasMinToolsRev, hasPath, hasTag, hasVendor, isObsolete, isPreview, isUpdateFor, isUpdateFor
@NonNull public java.lang.String[] getOldPaths()
IPkgDescExtra
getOldPaths
in interface IPkgDescExtra
@NonNull public java.lang.String getNameDisplay()
IPkgDescExtra
getNameDisplay
in interface IPkgDescExtra
@NonNull public static java.lang.String[] convertOldPaths(@Nullable java.lang.String oldPathsProperty)
oldPathsProperty
- A possibly-null old_path property string.public static boolean compatibleVendorAndPath(@NonNull IPkgDescExtra lhs, @NonNull IPkgDescExtra rhs)
IPkgDescExtra
s
are compatible with each other, which means they are either equal or are
matched between existing path and the potential old paths list.
This also covers backward compatibility -- in earlier schemas the vendor id was merged into the path string when reloading installed extras.
lhs
- A non-null IPkgDescExtra
.rhs
- Another non-null IPkgDescExtra
.