org.gwe.persistence.model
Enum EventType
java.lang.Object
java.lang.Enum<EventType>
org.gwe.persistence.model.EventType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EventType>
public enum EventType
- extends java.lang.Enum<EventType>
- Since:
- Nov 26, 2007
- Author:
- Marco Ruiz
Method Summary |
static EventType |
valueOf(java.lang.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're declared. |
Methods inherited from class java.lang.Enum |
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
CREATED
public static final EventType CREATED
SAVED
public static final EventType SAVED
ORDER_EXPANDED
public static final EventType ORDER_EXPANDED
ORDER_COMPLETED
public static final EventType ORDER_COMPLETED
JOB_STARTED
public static final EventType JOB_STARTED
JOB_PREPARED
public static final EventType JOB_PREPARED
JOB_ASSIGNED
public static final EventType JOB_ASSIGNED
JOB_DISPATCHED
public static final EventType JOB_DISPATCHED
JOB_PROCESSED
public static final EventType JOB_PROCESSED
JOB_COMPLETED
public static final EventType JOB_COMPLETED
JOB_FAILED
public static final EventType JOB_FAILED
ALLOCATION_SCHEDULED
public static final EventType ALLOCATION_SCHEDULED
ALLOCATION_ATTAINED
public static final EventType ALLOCATION_ATTAINED
ALLOCATION_RELEASED
public static final EventType ALLOCATION_RELEASED
ALLOCATION_DISPOSED
public static final EventType ALLOCATION_DISPOSED
values
public static final EventType[] values()
- Returns an array containing the constants of this enum type, in
the order they're 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're declared
valueOf
public static EventType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2007-2009. All Rights Reserved.