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