public enum StatusItemType extends Enum<StatusItemType>
Enum Constant and Description |
---|
DEFAULT
Gray
|
INPROGRESS
Blue
|
MOVED
Yellow
|
NEW
Purple
|
REMOVED
Red
|
SUCCESS
Green
|
Modifier and Type | Method and Description |
---|---|
static StatusItemType |
getByName(String name)
Gets the type based on a given name or null if it isn't found
|
static StatusItemType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusItemType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusItemType DEFAULT
public static final StatusItemType SUCCESS
public static final StatusItemType REMOVED
public static final StatusItemType INPROGRESS
public static final StatusItemType NEW
public static final StatusItemType MOVED
public static StatusItemType[] values()
for (StatusItemType c : StatusItemType.values()) System.out.println(c);
public static StatusItemType 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 StatusItemType getByName(String name)
name
- The name to searchCopyright © 2022 DEISER. All Rights Reserved.