Enum Class ScenarioUnregisteredEvent.Reason

java.lang.Object
java.lang.Enum<ScenarioUnregisteredEvent.Reason>
dev.itsharshxd.zentrix.api.events.scenario.ScenarioUnregisteredEvent.Reason
All Implemented Interfaces:
Serializable, Comparable<ScenarioUnregisteredEvent.Reason>, Constable
Enclosing class:
ScenarioUnregisteredEvent

public static enum ScenarioUnregisteredEvent.Reason extends Enum<ScenarioUnregisteredEvent.Reason>
Why the scenario left the registry.
  • Enum Constant Details

  • Method Details

    • values

      public static ScenarioUnregisteredEvent.Reason[] 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 ScenarioUnregisteredEvent.Reason 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