protected static enum AbstractUnitConversionRule.Message extends Enum<AbstractUnitConversionRule.Message>
Enum Constant and Description |
---|
CHECK |
CHECK_UNKNOWN_UNIT |
SUGGESTION |
UNIT_MISMATCH |
Modifier and Type | Method and Description |
---|---|
static AbstractUnitConversionRule.Message |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AbstractUnitConversionRule.Message[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AbstractUnitConversionRule.Message SUGGESTION
public static final AbstractUnitConversionRule.Message CHECK
public static final AbstractUnitConversionRule.Message CHECK_UNKNOWN_UNIT
public static final AbstractUnitConversionRule.Message UNIT_MISMATCH
public static AbstractUnitConversionRule.Message[] values()
for (AbstractUnitConversionRule.Message c : AbstractUnitConversionRule.Message.values()) System.out.println(c);
public static AbstractUnitConversionRule.Message 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 null