Enum EventType

java.lang.Object
java.lang.Enum<EventType>
jline.lang.constant.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>, java.lang.constant.Constable

public enum EventType extends Enum<EventType>
Constants for specifying events
  • Enum Constant Details

    • INIT

      public static final EventType INIT
    • LOCAL

      public static final EventType LOCAL
    • ARV

      public static final EventType ARV
    • DEP

      public static final EventType DEP
    • PHASE

      public static final EventType PHASE
    • READ

      public static final EventType READ
    • STAGE

      public static final EventType STAGE
    • ENABLE

      public static final EventType ENABLE
    • FIRE

      public static final EventType FIRE
    • PRE

      public static final EventType PRE
    • POST

      public static final EventType POST
    • RENEGE

      public static final EventType RENEGE
    • RETRY

      public static final EventType RETRY
    • SWITCH

      public static final EventType SWITCH
      The server of a polling station advances its switchover timer.

      Unlike PHASE, which carries only the internal transitions of a phase-type and leaves the absorption to DEP, this event carries both: the completion of a switchover moves no job and so has no departure to attach the absorption to. It is therefore emitted also for a single-phase switchover, where it consists of the absorption alone.

  • Method Details

    • values

      public static EventType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EventType valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null