Enum Class HookConstants.Plugin

java.lang.Object
java.lang.Enum<HookConstants.Plugin>
com.github.darksoulq.abyssallib.server.util.HookConstants.Plugin
All Implemented Interfaces:
Serializable, Comparable<HookConstants.Plugin>, Constable
Enclosing class:
HookConstants

public static enum HookConstants.Plugin extends Enum<HookConstants.Plugin>
An enumeration of supported external plugins for which the library provides specialized hooks.
  • Enum Constant Details

    • RSPM

      public static final HookConstants.Plugin RSPM
      Integration with ResourcePackManager.
    • PLACEHOLDER_API

      public static final HookConstants.Plugin PLACEHOLDER_API
      Integration with the PlaceholderAPI string expansion utility.
  • Field Details

    • pluginName

      public final String pluginName
      The exact name of the plugin as defined in its plugin.yml.
  • Method Details

    • values

      public static HookConstants.Plugin[] 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 HookConstants.Plugin 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