java.io.Serializable, java.lang.Comparable<Warning.WarningState>public static enum Warning.WarningState extends java.lang.Enum<Warning.WarningState>
| Enum Constant | Description | 
|---|---|
| DEFAULT | Indicates each warning would default to the configured  Warningannotation, or always if annotation not found. | 
| OFF | Indicates no warnings should be printed for deprecated items. | 
| ON | Indicates all warnings should be printed for deprecated items. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| boolean | printFor(Warning warning) | This method checks the provided warning should be printed for this
 state | 
| static Warning.WarningState | value(java.lang.String value) | This method returns the corresponding warning state for the given
 string value. | 
| static Warning.WarningState | valueOf(java.lang.String name) | Returns the enum constant of this type with the specified name. | 
| static Warning.WarningState[] | values() | Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Warning.WarningState ON
public static final Warning.WarningState OFF
public static final Warning.WarningState DEFAULT
Warning annotation, or always if annotation not found.public static Warning.WarningState[] values()
for (Warning.WarningState c : Warning.WarningState.values()) System.out.println(c);
public static Warning.WarningState 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 printFor(Warning warning)
warning - The warning annotation added to a deprecated itemWarning.value(), true otherwise.
     public static Warning.WarningState value(java.lang.String value)
value - The string value to checkDEFAULT if not found, or the respective
     WarningStateCopyright © 2018. All rights reserved.