public enum SuppressErrorFlag extends java.lang.Enum<SuppressErrorFlag>
| Enum Constant and Description |
|---|
ALL
Warnings and errors sent to log won't be printed to players' chat
Used for #ikwid preprocessor
|
DEFAULT
All errors and warnings sent to log will be printed to players' chat.
|
FORCED
Force all warnings and errors to be printed to players' chat, ignoring two preprocessors above
Used for /ct syntax command
|
ONLY_WARNINGS
Only errors sent to log will be printed to players' chat.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isForced() |
boolean |
isSuppressingErrors() |
boolean |
isSuppressingWarnings() |
static SuppressErrorFlag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SuppressErrorFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuppressErrorFlag DEFAULT
public static final SuppressErrorFlag ONLY_WARNINGS
public static final SuppressErrorFlag ALL
public static final SuppressErrorFlag FORCED
public static SuppressErrorFlag[] values()
for (SuppressErrorFlag c : SuppressErrorFlag.values()) System.out.println(c);
public static SuppressErrorFlag valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic boolean isForced()
public boolean isSuppressingWarnings()
public boolean isSuppressingErrors()