public enum RemovedOptions extends java.lang.Enum<RemovedOptions> implements Option<java.lang.String>
If any of the deprecated options are set, a sync error will be raised.
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultValue() |
com.android.build.gradle.internal.errors.DeprecationReporter.DeprecationTarget |
getDeprecationTarget() |
java.lang.String |
getPropertyName() |
boolean |
isDeprecated() |
java.lang.String |
parse(java.lang.Object value) |
static RemovedOptions |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RemovedOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RemovedOptions INCREMENTAL_JAVA_COMPILE
public static final RemovedOptions THREAD_POOL_SIZE_OLD
public static final RemovedOptions THREAD_POOL_SIZE
public static final RemovedOptions ENABLE_IMPROVED_DEPENDENCY_RESOLUTION
public static final RemovedOptions ENABLE_NEW_RESOURCE_PROCESSING
public static final RemovedOptions DISABLE_RES_MERGE_IN_LIBRARY
public static final RemovedOptions ENABLE_IN_PROCESS_AAPT2
public static final RemovedOptions ENABLE_DAEMON_MODE_AAPT2
public static final RemovedOptions VERSION_CHECK_OVERRIDE_PROPERTY_OLD
public static final RemovedOptions OVERRIDE_PATH_CHECK_PROPERTY_OLD
public static RemovedOptions[] values()
for (RemovedOptions c : RemovedOptions.values()) System.out.println(c);
public static RemovedOptions 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.String>@Nullable public java.lang.String getDefaultValue()
getDefaultValue in interface Option<java.lang.String>@NonNull
public java.lang.String parse(@NonNull
java.lang.Object value)
public boolean isDeprecated()
isDeprecated in interface Option<java.lang.String>@Nullable public com.android.build.gradle.internal.errors.DeprecationReporter.DeprecationTarget getDeprecationTarget()
getDeprecationTarget in interface Option<java.lang.String>