Enum Class GameStatus

java.lang.Object
java.lang.Enum<GameStatus>
org.screamingsandals.bedwars.api.game.GameStatus
All Implemented Interfaces:
Serializable, Comparable<GameStatus>, Constable

public enum GameStatus extends Enum<GameStatus>
  • Enum Constant Details

    • WAITING

      public static final GameStatus WAITING
    • RUNNING

      public static final GameStatus RUNNING
    • GAME_END_CELEBRATING

      public static final GameStatus GAME_END_CELEBRATING
    • REBUILDING

      public static final GameStatus REBUILDING
    • DISABLED

      public static final GameStatus DISABLED
  • Method Details

    • values

      public static GameStatus[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static GameStatus valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null