public enum MessagePolicy extends Enum<MessagePolicy>
Enum Constant and Description |
---|
FAIL
Throws an IOException.
|
IGNORE
Does nothing.
|
WARN
Logs through logging system as a WARNING.
|
Modifier and Type | Method and Description |
---|---|
static MessagePolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessagePolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessagePolicy IGNORE
public static final MessagePolicy WARN
public static final MessagePolicy FAIL
public static MessagePolicy[] values()
for (MessagePolicy c : MessagePolicy.values()) System.out.println(c);
public static MessagePolicy 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 © 2024 Central Laboratory of the Research Councils. All Rights Reserved.