Package jline.lang.constant
Enum EventType
- All Implemented Interfaces:
Serializable,Comparable<EventType>,java.lang.constant.Constable
Constants for specifying events
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe server of a station breaks down (goes from up to down).The server of a station is repaired (goes from down to up).The server of a polling station advances its switchover timer. -
Method Summary
-
Enum Constant Details
-
INIT
-
LOCAL
-
ARV
-
DEP
-
PHASE
-
READ
-
STAGE
-
ENABLE
-
FIRE
-
PRE
-
POST
-
RENEGE
-
RETRY
-
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.
-
FAILURE
The server of a station breaks down (goes from up to down).Only the server-status local variable changes: jobs in service are not lost and, service being memoryless in the supported case, they resume when the server is repaired. The passive half is LOCAL, so no job moves.
-
REPAIR
The server of a station is repaired (goes from down to up).
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-