public enum TrapSeverity extends Enum<TrapSeverity>
Enum Constant and Description |
---|
Critical |
Info |
Major |
Minor |
Normal |
Unknown |
Warning |
Modifier and Type | Method and Description |
---|---|
static TrapSeverity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TrapSeverity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TrapSeverity Critical
public static final TrapSeverity Info
public static final TrapSeverity Major
public static final TrapSeverity Minor
public static final TrapSeverity Normal
public static final TrapSeverity Unknown
public static final TrapSeverity Warning
public static TrapSeverity[] values()
for (TrapSeverity c : TrapSeverity.values()) System.out.println(c);
public static TrapSeverity 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 nullCopyright © 2016. All rights reserved.