org.talend.esb.sam.common.event
Enum EventTypeEnum
java.lang.Object
java.lang.Enum<EventTypeEnum>
org.talend.esb.sam.common.event.EventTypeEnum
- All Implemented Interfaces:
- Serializable, Comparable<EventTypeEnum>
public enum EventTypeEnum
- extends Enum<EventTypeEnum>
The EventTypeEnum used to define event type.
|
Method Summary |
static EventTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static EventTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
REQ_IN
public static final EventTypeEnum REQ_IN
REQ_OUT
public static final EventTypeEnum REQ_OUT
RESP_IN
public static final EventTypeEnum RESP_IN
RESP_OUT
public static final EventTypeEnum RESP_OUT
FAULT_IN
public static final EventTypeEnum FAULT_IN
FAULT_OUT
public static final EventTypeEnum FAULT_OUT
SERVER_START
public static final EventTypeEnum SERVER_START
SERVER_STOP
public static final EventTypeEnum SERVER_STOP
SERVICE_START
public static final EventTypeEnum SERVICE_START
SERVICE_STOP
public static final EventTypeEnum SERVICE_STOP
CLIENT_CREATE
public static final EventTypeEnum CLIENT_CREATE
CLIENT_DESTROY
public static final EventTypeEnum CLIENT_DESTROY
JOB_START
public static final EventTypeEnum JOB_START
JOB_STOP
public static final EventTypeEnum JOB_STOP
LOG
public static final EventTypeEnum LOG
UNKNOWN
public static final EventTypeEnum UNKNOWN
values
public static EventTypeEnum[] 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 (EventTypeEnum c : EventTypeEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static EventTypeEnum 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–2014 Talend Inc.. All rights reserved.