Enum Class Event

java.lang.Object
java.lang.Enum<Event>
com.github.fungal.api.events.Event
All Implemented Interfaces:
Serializable, Comparable<Event>, java.lang.constant.Constable

public enum Event extends Enum<Event>
An event of the kernel lifecycle
Author:
Jesper Pedersen
  • Enum Constant Details

    • STARTING

      public static final Event STARTING
      STARTING
    • PRE_CLASSLOADER

      public static final Event PRE_CLASSLOADER
      PRE_CLASSLOADER
    • POST_CLASSLOADER

      public static final Event POST_CLASSLOADER
      POST_CLASSLOADER
    • STARTED

      public static final Event STARTED
      STARTED
    • STOPPING

      public static final Event STOPPING
      STOPPING
    • STOPPED

      public static final Event STOPPED
      STOPPED
  • Method Details

    • values

      public static Event[] 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 Event 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