# Uses of Enum Class
org.bukkit.Warning.WarningState

Packages that use Warning.WarningState
Package
Description
org.bukkit
The root package of the Bukkit API, contains generalized API classes.

## Uses of Warning.WarningState in org.bukkit

Methods in org.bukkit that return Warning.WarningState
Modifier and Type
Method
Description
`static @NotNull Warning.WarningState`
Bukkit.`getWarningState()`
Gets the current warning state for the server.
`@NotNull Warning.WarningState`
Server.`getWarningState()`
Gets the current warning state for the server.
`static @NotNull Warning.WarningState`
Warning.WarningState.`value(@Nullable String value)`
This method returns the corresponding warning state for the given string value.
`static Warning.WarningState`
Warning.WarningState.`valueOf(String name)`
Returns the enum constant of this class with the specified name.
`static Warning.WarningState[]`
Warning.WarningState.`values()`
Returns an array containing the constants of this enum class, in the order they are declared.