Enum UpgradeTriggerHandlerType

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

public enum UpgradeTriggerHandlerType extends Enum<UpgradeTriggerHandlerType>
Represents the type of UpgradeTriggerHandler.

Custom ones use PLUGIN

  • Enum Constant Details

  • Method Details

    • values

      public static UpgradeTriggerHandlerType[] 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 UpgradeTriggerHandlerType 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
    • getId

      @Nullable public @Nullable String getId()
      Returns the id that's being used for the handler. null is being returned when passing PLUGIN.
      Returns:
      The id of this handler type