Module watamebot

Enum Class WatameBot.State

java.lang.Object
java.lang.Enum<WatameBot.State>
net.foxgenesis.watame.WatameBot.State
All Implemented Interfaces:
Serializable, Comparable<WatameBot.State>, Constable
Enclosing class:
WatameBot

public static enum WatameBot.State extends Enum<WatameBot.State>
States WatameBot goes through on startup.
Author:
Ashley
  • Enum Constant Details

    • CONSTRUCTING

      public static final WatameBot.State CONSTRUCTING
      NEED_JAVADOC
    • PRE_INIT

      public static final WatameBot.State PRE_INIT
      NEED_JAVADOC
    • INIT

      public static final WatameBot.State INIT
      NEED_JAVADOC
    • POST_INIT

      public static final WatameBot.State POST_INIT
      NEED_JAVADOC
    • RUNNING

      public static final WatameBot.State RUNNING
      WatameBot has finished all loading stages and is running
  • Method Details

    • values

      public static WatameBot.State[] 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 WatameBot.State 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