public enum StatusValues extends Enum<StatusValues>
Modifier and Type | Method and Description |
---|---|
static StatusValues |
get(String textValue)
Get status value for a given string.
|
String |
toString() |
static StatusValues |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusValues OK
public static final StatusValues NOT_OK
public static StatusValues[] values()
for (StatusValues c : StatusValues.values()) System.out.println(c);
public static StatusValues 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 String toString()
toString
in class Enum<StatusValues>
public static StatusValues get(String textValue)
textValue
- StringCopyright © 2010–2019 TupiLabs. All rights reserved.