Enum Class StarEvents.Status

java.lang.Object
java.lang.Enum<StarEvents.Status>
com.stardevllc.starevents.StarEvents.Status
All Implemented Interfaces:
Serializable, Comparable<StarEvents.Status>, Constable
Enclosing class:
StarEvents

public static enum StarEvents.Status extends Enum<StarEvents.Status>
Enum for the status of a listener
  • Enum Constant Details

    • SUCCESS

      public static final StarEvents.Status SUCCESS
      The success status if a listener was registered successfully
    • FAIL

      public static final StarEvents.Status FAIL
      The fail status for if a listener failed to register
    • NULL

      public static final StarEvents.Status NULL
      The null status if the provided listener was null
  • Method Details

    • values

      public static StarEvents.Status[] 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 StarEvents.Status 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