public enum SeverityValue extends java.lang.Enum<SeverityValue>
| Modifier and Type | Class and Description |
|---|---|
static class |
SeverityValue.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static SeverityValue |
fromValue(java.lang.String text) |
java.lang.String |
getValue() |
java.lang.String |
toString() |
static SeverityValue |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SeverityValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SeverityValue INFO
public static final SeverityValue LOW
public static final SeverityValue MEDIUM
public static final SeverityValue HIGH
public static final SeverityValue CRITICAL
public static SeverityValue[] values()
for (SeverityValue c : SeverityValue.values()) System.out.println(c);
public static SeverityValue valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getValue()
public java.lang.String toString()
toString in class java.lang.Enum<SeverityValue>public static SeverityValue fromValue(java.lang.String text)