public enum WarningAction extends Enum<WarningAction>
| Enum Constant and Description |
|---|
FAIL
Fails on warn.
|
IGNORE
Ignores warning.
|
REPORT
Reports on warn.
|
| Modifier and Type | Method and Description |
|---|---|
static Optional<WarningAction> |
fromSymbol(String symbol)
Returns a constant of the given symbol.
|
static WarningAction |
getDefault()
Returns the default value of
WarningAction. |
static WarningAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WarningAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WarningAction IGNORE
public static final WarningAction REPORT
public static final WarningAction FAIL
public static WarningAction[] values()
for (WarningAction c : WarningAction.values()) System.out.println(c);
public static WarningAction 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 static WarningAction getDefault()
WarningAction.public static Optional<WarningAction> fromSymbol(String symbol)
symbol - the symbolCopyright © 2011–2018 Asakusa Framework Team. All rights reserved.