Enum JingleReason.Reason
- java.lang.Object
-
- java.lang.Enum<JingleReason.Reason>
-
- org.jivesoftware.smackx.jingle.element.JingleReason.Reason
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<JingleReason.Reason>
- Enclosing class:
- JingleReason
public static enum JingleReason.Reason extends java.lang.Enum<JingleReason.Reason>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description alternative_session
busy
cancel
connectivity_error
decline
expired
failed_application
failed_transport
general_error
gone
incompatible_parameters
media_error
security_error
success
timeout
unsupported_applications
unsupported_transports
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
asString
protected static java.util.Map<java.lang.String,JingleReason.Reason>
LUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JingleReason.Reason
fromString(java.lang.String string)
java.lang.String
toString()
static JingleReason.Reason
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static JingleReason.Reason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
alternative_session
public static final JingleReason.Reason alternative_session
-
busy
public static final JingleReason.Reason busy
-
cancel
public static final JingleReason.Reason cancel
-
connectivity_error
public static final JingleReason.Reason connectivity_error
-
decline
public static final JingleReason.Reason decline
-
expired
public static final JingleReason.Reason expired
-
failed_application
public static final JingleReason.Reason failed_application
-
failed_transport
public static final JingleReason.Reason failed_transport
-
general_error
public static final JingleReason.Reason general_error
-
gone
public static final JingleReason.Reason gone
-
incompatible_parameters
public static final JingleReason.Reason incompatible_parameters
-
media_error
public static final JingleReason.Reason media_error
-
security_error
public static final JingleReason.Reason security_error
-
success
public static final JingleReason.Reason success
-
timeout
public static final JingleReason.Reason timeout
-
unsupported_applications
public static final JingleReason.Reason unsupported_applications
-
unsupported_transports
public static final JingleReason.Reason unsupported_transports
-
-
Field Detail
-
LUT
protected static final java.util.Map<java.lang.String,JingleReason.Reason> LUT
-
asString
protected final java.lang.String asString
-
-
Method Detail
-
values
public static JingleReason.Reason[] 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 (JingleReason.Reason c : JingleReason.Reason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static JingleReason.Reason 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 namejava.lang.NullPointerException
- if the argument is null
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<JingleReason.Reason>
-
fromString
public static JingleReason.Reason fromString(java.lang.String string)
-
-