public static enum MessageCollection.Severity extends Enum<MessageCollection.Severity>
Enum Constant and Description |
---|
ERROR |
SYSTEMERROR |
WARNING |
Modifier and Type | Method and Description |
---|---|
static MessageCollection.Severity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageCollection.Severity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageCollection.Severity WARNING
public static final MessageCollection.Severity ERROR
public static final MessageCollection.Severity SYSTEMERROR
public static MessageCollection.Severity[] values()
for (MessageCollection.Severity c : MessageCollection.Severity.values()) System.out.println(c);
public static MessageCollection.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 nullCopyright © 2018. All rights reserved.