|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.sdklib.repositoryv2.meta.DetailsTypes
public final class DetailsTypes
Container for the subclasses of TypeDetails
used by the android SDK.
Concrete classes are generated by xjc.
Nested Class Summary | |
---|---|
static interface |
DetailsTypes.AddonDetailsType
Details type for addon packages. |
static interface |
DetailsTypes.ApiDetailsType
Common methods shared by all android version-specific details types. |
static interface |
DetailsTypes.ExtraDetailsType
Details type for extra packages. |
static interface |
DetailsTypes.MavenType
Details type for packages that will be installed as maven artifacts in our local maven repository. |
static interface |
DetailsTypes.PlatformDetailsType
Details type for platform packages. |
static interface |
DetailsTypes.SourceDetailsType
Trivial details type for source packages. |
static interface |
DetailsTypes.SysImgDetailsType
Details type for system images packages. |
Method Summary | |
---|---|
static java.lang.String |
getAddonPath(IdDisplay vendor,
com.android.sdklib.AndroidVersion version,
IdDisplay name)
Gets the default path/unique id for the given addon TODO: move this into AddonDetailsType when we support java 8 |
static com.android.sdklib.AndroidVersion |
getAndroidVersion(DetailsTypes.ApiDetailsType details)
Convenience method to create an AndroidVersion with the information from the given
DetailsTypes.ApiDetailsType . |
static java.lang.String |
getBuildToolsPath(com.android.repository.Revision revision)
Gets the default path/unique id for the given build tools |
static java.lang.String |
getLldbPath(com.android.repository.Revision revision)
Gets the path/unique id for the LLDB of the given Revision . |
static java.lang.String |
getPlatformPath(com.android.sdklib.AndroidVersion version)
Gets the path/unique id for the platform of the given AndroidVersion . |
static java.lang.String |
getSourcesPath(com.android.sdklib.AndroidVersion version)
Gets the path/unique id for the sources of the given AndroidVersion . |
static java.lang.String |
getSysImgPath(IdDisplay vendor,
com.android.sdklib.AndroidVersion version,
IdDisplay name,
java.lang.String abi)
Gets the default path/unique id for the given system image TODO: move this into SysImgDetailsType when we support java 8 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
@NonNull public static com.android.sdklib.AndroidVersion getAndroidVersion(@NonNull DetailsTypes.ApiDetailsType details)
AndroidVersion
with the information from the given
DetailsTypes.ApiDetailsType
.
TODO: move this into ApiDetailsType when we support java 8
public static java.lang.String getPlatformPath(com.android.sdklib.AndroidVersion version)
AndroidVersion
.
TODO: move this into PlatformDetailsType when we support java 8
public static java.lang.String getSourcesPath(com.android.sdklib.AndroidVersion version)
AndroidVersion
.
TODO: move this into PlatformDetailsType when we support java 8
public static java.lang.String getLldbPath(com.android.repository.Revision revision)
Revision
.
public static java.lang.String getAddonPath(IdDisplay vendor, com.android.sdklib.AndroidVersion version, IdDisplay name)
public static java.lang.String getSysImgPath(IdDisplay vendor, com.android.sdklib.AndroidVersion version, IdDisplay name, java.lang.String abi)
public static java.lang.String getBuildToolsPath(com.android.repository.Revision revision)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |