Enum Class EventEndEcsEvent.Reason

java.lang.Object
java.lang.Enum<EventEndEcsEvent.Reason>
com.hypixel.hytale.builtin.adventure.worldevents.component.EventEndEcsEvent.Reason
All Implemented Interfaces:
Serializable, Comparable<EventEndEcsEvent.Reason>, Constable
Enclosing class:
EventEndEcsEvent

public static enum EventEndEcsEvent.Reason extends Enum<EventEndEcsEvent.Reason>
  • Enum Constant Details

    • ITERATION

      public static final EventEndEcsEvent.Reason ITERATION
      The event reached the end of an iteration and restarted from its root stage.
    • SUCCESS

      public static final EventEndEcsEvent.Reason SUCCESS
      The event terminated successfully and is removed.
    • FAIL

      public static final EventEndEcsEvent.Reason FAIL
      The event terminated with an error and is removed.
  • Method Details

    • values

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