public enum JingleActionEnum extends Enum<JingleActionEnum>
Enum Constant and Description |
---|
CONTENT_ACCEPT |
CONTENT_ADD |
CONTENT_MODIFY |
CONTENT_REMOVE |
SESSION_ACCEPT |
SESSION_INFO |
SESSION_INITIATE |
SESSION_TERMINATE |
TRANSPORT_INFO |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static JingleActionEnum |
getAction(String inActionCode)
Returns the Action enum for a String action value.
|
String |
toString()
Returns the String value for an Action.
|
static JingleActionEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JingleActionEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JingleActionEnum UNKNOWN
public static final JingleActionEnum CONTENT_ACCEPT
public static final JingleActionEnum CONTENT_ADD
public static final JingleActionEnum CONTENT_MODIFY
public static final JingleActionEnum CONTENT_REMOVE
public static final JingleActionEnum SESSION_ACCEPT
public static final JingleActionEnum SESSION_INFO
public static final JingleActionEnum SESSION_INITIATE
public static final JingleActionEnum SESSION_TERMINATE
public static final JingleActionEnum TRANSPORT_INFO
public static JingleActionEnum[] values()
for (JingleActionEnum c : JingleActionEnum.values()) System.out.println(c);
public static JingleActionEnum valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<JingleActionEnum>
public static JingleActionEnum getAction(String inActionCode)