@Incubating public enum WarningMode extends Enum<WarningMode>
| Enum Constant and Description |
|---|
All
Show all warnings.
|
None
No deprecation warnings at all.
|
Summary
Display a summary at the end of the build instead of rendering all warnings into the console output.
|
| Modifier and Type | Method and Description |
|---|---|
static WarningMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WarningMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WarningMode All
public static final WarningMode Summary
public static final WarningMode None
public static WarningMode[] values()
for (WarningMode c : WarningMode.values()) System.out.println(c);
public static WarningMode 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 null