vxmlsurfer
Enum VXMLAction
java.lang.Object
java.lang.Enum<VXMLAction>
vxmlsurfer.VXMLAction
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<VXMLAction>
public enum VXMLAction
- extends java.lang.Enum<VXMLAction>
This serves as Actions for the Messages
enums are quite extensible in Java
Method Summary |
static VXMLAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VXMLAction[] |
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 |
ENTER
public static final VXMLAction ENTER
HIGHLIGHT
public static final VXMLAction HIGHLIGHT
REMOVE_HIGHLIGHT
public static final VXMLAction REMOVE_HIGHLIGHT
RUN
public static final VXMLAction RUN
EXIT
public static final VXMLAction EXIT
BUGREPORT
public static final VXMLAction BUGREPORT
SEND_MESSAGE
public static final VXMLAction SEND_MESSAGE
values
public static final VXMLAction[] 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(VXMLAction c : VXMLAction.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static VXMLAction 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