public final class DetailsTypes
extends java.lang.Object
TypeDetails used by the android SDK.
Concrete classes are generated by xjc.| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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
|
@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 8public static java.lang.String getPlatformPath(com.android.sdklib.AndroidVersion version)
AndroidVersion.
TODO: move this into PlatformDetailsType when we support java 8public static java.lang.String getSourcesPath(com.android.sdklib.AndroidVersion version)
AndroidVersion.
TODO: move this into PlatformDetailsType when we support java 8public 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)