public static enum Constants.SquashOption extends Enum<Constants.SquashOption>
Enum Constant and Description |
---|
ALWAYS |
DEFAULT_OFF |
DEFAULT_ON |
NEVER |
Modifier and Type | Method and Description |
---|---|
static Constants.SquashOption |
forValue(String value) |
String |
toString() |
String |
toValue() |
static Constants.SquashOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.SquashOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.SquashOption NEVER
public static final Constants.SquashOption ALWAYS
public static final Constants.SquashOption DEFAULT_ON
public static final Constants.SquashOption DEFAULT_OFF
public static Constants.SquashOption[] values()
for (Constants.SquashOption c : Constants.SquashOption.values()) System.out.println(c);
public static Constants.SquashOption valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Constants.SquashOption forValue(String value)
public String toValue()
public String toString()
toString
in class Enum<Constants.SquashOption>
Copyright © 2022. All rights reserved.