|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<SdkSourceCategory>
com.android.sdklib.internal.repository.sources.SdkSourceCategory
public enum SdkSourceCategory
The category of a given SdkSource (which represents a download site).
| Enum Constant Summary | |
|---|---|
ADDONS_3RD_PARTY
All third-party add-ons fetched from the Android repository. |
|
ANDROID_REPO
The default canonical and official Android repository. |
|
GETENV_ADDONS
Add-ons contributed by the SDK_UPDATER_USER_URLS env var, only used for local debugging. |
|
GETENV_REPOS
Repositories contributed by the SDK_UPDATER_URLS env var, only used for local debugging. |
|
USER_ADDONS
All add-ons contributed locally by the user via the "Add Add-on Site" button. |
|
| Method Summary | |
|---|---|
boolean |
getAlwaysDisplay()
True if this category must always be displayed by the available package tree, even if empty. |
java.lang.String |
getLongDescription()
Returns a description of the given element. |
java.lang.String |
getShortDescription()
Returns a description of the given element. |
java.lang.String |
getUiName()
Returns the UI-visible name of the category. |
static SdkSourceCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SdkSourceCategory[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final SdkSourceCategory ANDROID_REPO
public static final SdkSourceCategory GETENV_REPOS
public static final SdkSourceCategory ADDONS_3RD_PARTY
public static final SdkSourceCategory USER_ADDONS
public static final SdkSourceCategory GETENV_ADDONS
| Method Detail |
|---|
public static SdkSourceCategory[] values()
for (SdkSourceCategory c : SdkSourceCategory.values()) System.out.println(c);
public static SdkSourceCategory valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String getUiName()
public boolean getAlwaysDisplay()
public java.lang.String getLongDescription()
IDescriptionObject.toString() would provide.
getLongDescription in interface IDescriptionpublic java.lang.String getShortDescription()
IDescriptionObject.toString() would provide.
getShortDescription in interface IDescription
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||