public enum IntegerOption extends java.lang.Enum<IntegerOption> implements Option<java.lang.Integer>
| Enum Constant and Description |
|---|
ANDROID_SDK_CHANNEL |
ANDROID_TEST_SHARD_COUNT |
IDE_BUILD_MODEL_ONLY_VERSION
Returns the level of model-only mode.
|
IDE_TARGET_DEVICE_API
The api level for the target device.
|
IDE_VERSION_CODE_OVERRIDE |
THREAD_POOL_SIZE |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Integer |
getDefaultValue() |
java.lang.String |
getPropertyName() |
java.lang.Integer |
parse(java.lang.Object value) |
static IntegerOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntegerOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntegerOption ANDROID_TEST_SHARD_COUNT
public static final IntegerOption ANDROID_SDK_CHANNEL
public static final IntegerOption THREAD_POOL_SIZE
public static final IntegerOption IDE_BUILD_MODEL_ONLY_VERSION
The model-only mode is triggered when the IDE does a sync, and therefore we do things a bit differently (don't throw exceptions for instance). Things evolved a bit over versions and the behavior changes. This reflects the mode to use.
AndroidProject.MODEL_LEVEL_0_ORIGINAL,
AndroidProject.MODEL_LEVEL_1_SYNC_ISSUE,
AndroidProject.MODEL_LEVEL_3_VARIANT_OUTPUT_POST_BUILD,
AndroidProject.MODEL_LEVEL_4_NEW_DEP_MODELpublic static final IntegerOption IDE_TARGET_DEVICE_API
For preview versions that is the last stable version, and the StringOption.IDE_TARGET_DEVICE_CODENAME will also be set.
public static final IntegerOption IDE_VERSION_CODE_OVERRIDE
public static IntegerOption[] values()
for (IntegerOption c : IntegerOption.values()) System.out.println(c);
public static IntegerOption 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 namejava.lang.NullPointerException - if the argument is null@NonNull public java.lang.String getPropertyName()
getPropertyName in interface Option<java.lang.Integer>@Nullable public java.lang.Integer getDefaultValue()
getDefaultValue in interface Option<java.lang.Integer>