Enum EventType
- All Implemented Interfaces:
Serializable
,Comparable<EventType>
Events (messages) passed between the slave and the master.
-
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Class
<? extends RemoteEvent> Concrete class associated with the given event type. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
EventType
(Class<? extends RemoteEvent> eventClass) Initialize with concrete event class. -
Method Summary
Modifier and TypeMethodDescriptiondeserialize
(JsonReader input) Deserialize a given event type from stream.static EventType
Returns the enum constant of this type with the specified name.static EventType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BOOTSTRAP
-
SUITE_STARTED
-
SUITE_FAILURE
-
SUITE_COMPLETED
-
APPEND_STDOUT
-
APPEND_STDERR
-
TEST_STARTED
-
TEST_FAILURE
-
TEST_IGNORED_ASSUMPTION
-
TEST_IGNORED
-
TEST_FINISHED
-
IDLE
-
QUIT
-
-
Field Details
-
eventClass
Concrete class associated with the given event type.
-
-
Constructor Details
-
EventType
Initialize with concrete event class.
-
-
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
-
deserialize
Deserialize a given event type from stream.- Throws:
IOException
-