org.mobicents.media.server.impl.common.events
Enum EventID
java.lang.Object
java.lang.Enum<EventID>
org.mobicents.media.server.impl.common.events.EventID
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<EventID>
public enum EventID
- extends java.lang.Enum<EventID>
|
Method Summary |
static EventID |
getEvent(java.lang.String eventID)
|
java.lang.String |
toString()
|
static EventID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static EventID[] |
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, valueOf |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
IDLE
public static final EventID IDLE
PLAY
public static final EventID PLAY
COMPLETE
public static final EventID COMPLETE
FAIL
public static final EventID FAIL
PLAY_RECORD
public static final EventID PLAY_RECORD
PROMPT_AND_COLLECT
public static final EventID PROMPT_AND_COLLECT
DTMF
public static final EventID DTMF
TEST_SPECTRA
public static final EventID TEST_SPECTRA
TEST_SINE
public static final EventID TEST_SINE
INVALID
public static final EventID INVALID
values
public static final EventID[] 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(EventID c : EventID.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static EventID 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
getEvent
public static EventID getEvent(java.lang.String eventID)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Enum<EventID>
Copyright © 2009. All Rights Reserved.