Enum Class EconomyProvider.State

java.lang.Object
java.lang.Enum<EconomyProvider.State>
com.ultikits.ultitools.services.EconomyProvider.State
All Implemented Interfaces:
Serializable, Comparable<EconomyProvider.State>, java.lang.constant.Constable
Enclosing interface:
EconomyProvider

public static enum EconomyProvider.State extends Enum<EconomyProvider.State>
The three states an economy request can be in, named so the operator-facing message can distinguish them (D-08): a missing plugin is not the same problem as a missing provider.
  • Enum Constant Details

    • VAULT_NOT_INSTALLED

      public static final EconomyProvider.State VAULT_NOT_INSTALLED
      No plugin named Vault is installed on this server at all.
    • NO_PROVIDER_REGISTERED

      public static final EconomyProvider.State NO_PROVIDER_REGISTERED
      Vault is installed, but no economy plugin (e.g. EssentialsX) has registered a provider.
    • AVAILABLE

      public static final EconomyProvider.State AVAILABLE
      Vault is installed and a provider is registered — economy operations work.
  • Constructor Details

    • State

      private State()
  • Method Details

    • values

      public static EconomyProvider.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 EconomyProvider.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