public enum StatusLevelTypes extends Enum<StatusLevelTypes>
Enum Constant and Description |
---|
ERROR
Enum value Error.
|
INFO
Enum value Info.
|
WARNING
Enum value Warning.
|
Modifier and Type | Method and Description |
---|---|
static StatusLevelTypes |
fromString(String value)
Parses a serialized value to a StatusLevelTypes instance.
|
String |
toString() |
static StatusLevelTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatusLevelTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatusLevelTypes INFO
public static final StatusLevelTypes WARNING
public static final StatusLevelTypes ERROR
public static StatusLevelTypes[] values()
for (StatusLevelTypes c : StatusLevelTypes.values()) System.out.println(c);
public static StatusLevelTypes 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 StatusLevelTypes fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<StatusLevelTypes>
Copyright © 2019. All rights reserved.