WarningState

public enum WarningState

This represents the states that server verbose for warnings may be.

Entries

Link copied to clipboard

Indicates all warnings should be printed for deprecated items.

Link copied to clipboard

Indicates no warnings should be printed for deprecated items.

Link copied to clipboard

Indicates each warning would default to the configured annotation, or always if annotation not found.

Functions

Link copied to clipboard
public boolean printFor(Warning warning)
This method checks the provided warning should be printed for this state
Link copied to clipboard
public static Warning.WarningState value(String value)
This method returns the corresponding warning state for the given string value.
Link copied to clipboard
public static Warning.WarningState valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.