|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.android.builder.sdk.DefaultSdkLoader
public class DefaultSdkLoader
Singleton-based implementation of SdkLoader for a standard SDK
| Method Summary | |
|---|---|
com.google.common.collect.ImmutableList<java.io.File> |
computeRepositories()
|
static SdkLoader |
getLoader(java.io.File sdkLocation)
|
com.google.common.collect.ImmutableList<java.io.File> |
getRepositories()
Returns the location of artifact repositories built-in the SDK. |
SdkInfo |
getSdkInfo(com.android.utils.ILogger logger)
Returns generic SDK information. |
TargetInfo |
getTargetInfo(java.lang.String targetHash,
com.android.sdklib.repository.FullRevision buildToolRevision,
com.android.utils.ILogger logger)
Returns information about a build target. |
static void |
unload()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static SdkLoader getLoader(@NonNull
java.io.File sdkLocation)
public static void unload()
@NonNull
public TargetInfo getTargetInfo(@NonNull
java.lang.String targetHash,
@NonNull
com.android.sdklib.repository.FullRevision buildToolRevision,
@NonNull
com.android.utils.ILogger logger)
SdkLoader
getTargetInfo in interface SdkLoadertargetHash - the compilation target hash string.buildToolRevision - the build tools revision.logger - a logger to output messages.
@NonNull
public SdkInfo getSdkInfo(@NonNull
com.android.utils.ILogger logger)
SdkLoader
getSdkInfo in interface SdkLoaderlogger - a logger to output messages.
@NonNull public com.google.common.collect.ImmutableList<java.io.File> getRepositories()
SdkLoader
getRepositories in interface SdkLoader@NonNull public com.google.common.collect.ImmutableList<java.io.File> computeRepositories()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||