public static enum Constants.Severity extends Enum<Constants.Severity>
Modifier and Type | Method and Description |
---|---|
String |
getName() |
int |
getValue() |
static Constants.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Constants.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Constants.Severity NONE
public static final Constants.Severity INFO
public static final Constants.Severity WARNING
public static final Constants.Severity ERROR
public static Constants.Severity[] values()
for (Constants.Severity c : Constants.Severity.values()) System.out.println(c);
public static Constants.Severity 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 int getValue()
public String getName()
Copyright © 2005–2015 Planetary Data System. All rights reserved.