Enum Class PluginState

java.lang.Object
java.lang.Enum<PluginState>
com.hypixel.hytale.server.core.plugin.PluginState
All Implemented Interfaces:
Serializable, Comparable<PluginState>, Constable

public enum PluginState extends Enum<PluginState>
The state of a plugin.
  • Enum Constant Details

    • NONE

      public static final PluginState NONE
      The plugin does not have a state yet.
    • SETUP

      public static final PluginState SETUP
      The plugin is being setup
    • START

      public static final PluginState START
      The plugin is being started.
    • ENABLED

      public static final PluginState ENABLED
      The plugin is enabled.
    • SHUTDOWN

      public static final PluginState SHUTDOWN
      The plugin is shutting down.
    • DISABLED

      public static final PluginState DISABLED
      The plugin is disabled.
    • FAILED

      public static final PluginState FAILED
      The plugin failed to start
  • Method Details

    • values

      public static PluginState[] 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 PluginState 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
    • isInactive

      public boolean isInactive()