public enum EventType extends Enum<EventType>
Enum Constant and Description |
---|
APPEND_STDERR |
APPEND_STDOUT |
BOOTSTRAP |
IDLE |
QUIT |
SUITE_COMPLETED |
SUITE_FAILURE |
SUITE_STARTED |
TEST_FAILURE |
TEST_FINISHED |
TEST_IGNORED |
TEST_IGNORED_ASSUMPTION |
TEST_STARTED |
Modifier and Type | Field and Description |
---|---|
Class<? extends RemoteEvent> |
eventClass
Concrete class associated with the given event type.
|
Modifier and Type | Method and Description |
---|---|
RemoteEvent |
deserialize(JsonReader input)
Deserialize a given event type from stream.
|
static EventType |
valueOf(String name)
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.
|
public static final EventType BOOTSTRAP
public static final EventType SUITE_STARTED
public static final EventType SUITE_FAILURE
public static final EventType SUITE_COMPLETED
public static final EventType APPEND_STDOUT
public static final EventType APPEND_STDERR
public static final EventType TEST_STARTED
public static final EventType TEST_FAILURE
public static final EventType TEST_IGNORED_ASSUMPTION
public static final EventType TEST_IGNORED
public static final EventType TEST_FINISHED
public static final EventType IDLE
public static final EventType QUIT
public final Class<? extends RemoteEvent> eventClass
public static EventType[] values()
for (EventType c : EventType.values()) System.out.println(c);
public static EventType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic RemoteEvent deserialize(JsonReader input) throws IOException
IOException
Copyright © 2011–2022 Carrot Search s.c.. All rights reserved.