com.carrotsearch.ant.tasks.junit4.events
Enum EventType
java.lang.Object
java.lang.Enum<EventType>
com.carrotsearch.ant.tasks.junit4.events.EventType
- All Implemented Interfaces:
- Serializable, Comparable<EventType>
public enum EventType
- extends Enum<EventType>
Events (messages) passed between the slave and the master.
|
Method Summary |
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. |
BOOTSTRAP
public static final EventType BOOTSTRAP
SUITE_STARTED
public static final EventType SUITE_STARTED
SUITE_FAILURE
public static final EventType SUITE_FAILURE
SUITE_COMPLETED
public static final EventType SUITE_COMPLETED
APPEND_STDOUT
public static final EventType APPEND_STDOUT
APPEND_STDERR
public static final EventType APPEND_STDERR
TEST_STARTED
public static final EventType TEST_STARTED
TEST_FAILURE
public static final EventType TEST_FAILURE
TEST_IGNORED_ASSUMPTION
public static final EventType TEST_IGNORED_ASSUMPTION
TEST_IGNORED
public static final EventType TEST_IGNORED
TEST_FINISHED
public static final EventType TEST_FINISHED
IDLE
public static final EventType IDLE
QUIT
public static final EventType QUIT
eventClass
public final Class<? extends IEvent> eventClass
- Concrete class associated with the given event type.
values
public static EventType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (EventType c : EventType.values())
System.out.println(c);
- 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
Copyright © 2011-2012 Carrot Search s.c.. All Rights Reserved.