Enum HookCategory

java.lang.Object
java.lang.Enum<HookCategory>
de.marcely.bedwars.api.hook.HookCategory
All Implemented Interfaces:
Serializable, Comparable<HookCategory>, java.lang.constant.Constable

public enum HookCategory extends Enum<HookCategory>
Represents a generalized category to which a hook may itself assign to.
  • Enum Constant Details

    • PARTIES

      public static final HookCategory PARTIES
      A hook that implements PartiesHook.
    • CURRENCY

      public static final HookCategory CURRENCY
      A hook that adds an interface to maintain a currency.
    • CLOUD_SYSTEM

      public static final HookCategory CLOUD_SYSTEM
      A hook for the CloudSystem functionality.
    • NICKNAMING

      public static final HookCategory NICKNAMING
      A hook that implements NicknamingHook.
    • MISCELLANEOUS

      public static final HookCategory MISCELLANEOUS
      Something that can't be generalized into the other categories.
  • Method Details

    • values

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

      public static HookCategory valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null