Class DetailsTypes
- java.lang.Object
-
- com.android.sdklib.repository.meta.DetailsTypes
-
public final class DetailsTypes extends java.lang.ObjectContainer for the subclasses ofTypeDetailsused by the android SDK. Concrete classes are generated by xjc.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDetailsTypes.AddonDetailsTypeDetails type for addon packages.static interfaceDetailsTypes.ApiDetailsTypeCommon methods shared by all android version-specific details types.static interfaceDetailsTypes.ExtraDetailsTypeDetails type for extra packages.static interfaceDetailsTypes.MavenTypeDetails type for packages that will be installed as maven artifacts in our local maven repository.static interfaceDetailsTypes.PlatformDetailsTypeDetails type for platform packages.static interfaceDetailsTypes.SourceDetailsTypeTrivial details type for source packages.static interfaceDetailsTypes.SysImgDetailsTypeDetails type for system images packages.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetAddonPath(IdDisplay vendor, com.android.sdklib.AndroidVersion version, IdDisplay name)Gets the default path/unique id for the given addonstatic java.lang.StringgetBuildToolsPath(com.android.repository.Revision revision)Gets the default path/unique id for the given build toolsstatic java.lang.StringgetLldbPath(com.android.repository.Revision revision)Gets the path/unique id for the LLDB of the givenRevision.static java.lang.StringgetPlatformPath(com.android.sdklib.AndroidVersion version)Gets the path/unique id for the platform of the givenAndroidVersion.static java.lang.StringgetSourcesPath(com.android.sdklib.AndroidVersion version)Gets the path/unique id for the sources of the givenAndroidVersion.static java.lang.StringgetSysImgPath(IdDisplay vendor, com.android.sdklib.AndroidVersion version, IdDisplay name, java.lang.String abi)Gets the default path/unique id for the given system image
-
-
-
Method Detail
-
getPlatformPath
@NonNull public static java.lang.String getPlatformPath(@NonNull com.android.sdklib.AndroidVersion version)Gets the path/unique id for the platform of the givenAndroidVersion.
-
getSourcesPath
@NonNull public static java.lang.String getSourcesPath(@NonNull com.android.sdklib.AndroidVersion version)Gets the path/unique id for the sources of the givenAndroidVersion.
-
getLldbPath
@NonNull public static java.lang.String getLldbPath(@NonNull com.android.repository.Revision revision)Gets the path/unique id for the LLDB of the givenRevision.TODO: consider moving to an LLDB-specific place.
-
getAddonPath
public static java.lang.String getAddonPath(IdDisplay vendor, com.android.sdklib.AndroidVersion version, IdDisplay name)
Gets the default path/unique id for the given addon
-
getSysImgPath
public 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
-
getBuildToolsPath
public static java.lang.String getBuildToolsPath(com.android.repository.Revision revision)
Gets the default path/unique id for the given build tools
-
-