public enum OptionalBooleanOption extends java.lang.Enum<OptionalBooleanOption> implements Option<java.lang.Boolean>
| Enum Constant and Description |
|---|
IDE_TEST_ONLY |
SERIAL_AAPT2 |
SIGNING_V1_ENABLED |
SIGNING_V2_ENABLED |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getDefaultValue() |
com.android.build.gradle.internal.errors.DeprecationReporter.DeprecationTarget |
getDeprecationTarget() |
java.lang.String |
getPropertyName() |
boolean |
isDeprecated() |
java.lang.Boolean |
parse(java.lang.Object value) |
static OptionalBooleanOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OptionalBooleanOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OptionalBooleanOption SIGNING_V1_ENABLED
public static final OptionalBooleanOption SIGNING_V2_ENABLED
public static final OptionalBooleanOption IDE_TEST_ONLY
public static final OptionalBooleanOption SERIAL_AAPT2
public static OptionalBooleanOption[] values()
for (OptionalBooleanOption c : OptionalBooleanOption.values()) System.out.println(c);
public static OptionalBooleanOption 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.Boolean>@Nullable public java.lang.Boolean getDefaultValue()
getDefaultValue in interface Option<java.lang.Boolean>@NonNull
public java.lang.Boolean parse(@NonNull
java.lang.Object value)
public boolean isDeprecated()
isDeprecated in interface Option<java.lang.Boolean>@Nullable public com.android.build.gradle.internal.errors.DeprecationReporter.DeprecationTarget getDeprecationTarget()
getDeprecationTarget in interface Option<java.lang.Boolean>