Enum Class EventCode

java.lang.Object
java.lang.Enum<EventCode>
co.ecg.alpaca.toolkit.event.EventCode
All Implemented Interfaces:
Serializable, Comparable<EventCode>, Constable

public enum EventCode extends Enum<EventCode>
EventCodes to indication purpose of event
Author:
Matthew Keathley on 7/24/15
  • Enum Constant Details

    • STARTUP

      public static final EventCode STARTUP
    • SUCCESS

      public static final EventCode SUCCESS
    • COMPLETE

      public static final EventCode COMPLETE
    • ERROR

      public static final EventCode ERROR
    • INVALID

      public static final EventCode INVALID
    • UPDATE

      public static final EventCode UPDATE
  • Method Details

    • values

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