com.android.sdklib.repositoryv2.meta
Class DetailsTypes

java.lang.Object
  extended by com.android.sdklib.repositoryv2.meta.DetailsTypes

public final class DetailsTypes
extends java.lang.Object

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.BuildToolDetailsType
          Trivial details type for build tools packages.
static interface DetailsTypes.DocDetailsType
          Trivial details type for doc packages.
static interface DetailsTypes.ExtraDetailsType
          Details type for extra packages.
static class DetailsTypes.Library
          Information about a IAndroidTarget.OptionalLibrary provided by a package.
static interface DetailsTypes.MavenType
          Details type for packages that will be installed as maven artifacts in our local maven repository.
static interface DetailsTypes.NdkDetailsType
          Trivial details type for ndk packages.
static interface DetailsTypes.PlatformDetailsType
          Details type for platform packages.
static interface DetailsTypes.PlatformToolDetailsType
          Trivial details type for platform-tool packages.
static interface DetailsTypes.SourceDetailsType
          Trivial details type for source packages.
static interface DetailsTypes.SysImgDetailsType
          Details type for system images packages.
static interface DetailsTypes.ToolDetailsType
          Trivial details type for tool packages.
 
Method Summary
static AndroidVersion getAndroidVersion(DetailsTypes.ApiDetailsType details)
          Convenience method to create an AndroidVersion with the information from the given DetailsTypes.ApiDetailsType.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getAndroidVersion

@NonNull
public static AndroidVersion getAndroidVersion(@NonNull
                                                       DetailsTypes.ApiDetailsType details)
Convenience method to create an AndroidVersion with the information from the given DetailsTypes.ApiDetailsType.