public enum DisconnectionType extends java.lang.Enum<DisconnectionType>
Enum Constant and Description |
---|
booted
Booted.
|
busy
Busy
|
departed
Departed.
|
failed
Failed.
|
Modifier and Type | Method and Description |
---|---|
static DisconnectionType |
parseString(java.lang.String typeStr)
Returns a DisconnectionType.
|
java.lang.String |
toString()
Returns the type name.
|
static DisconnectionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DisconnectionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DisconnectionType departed
public static final DisconnectionType booted
public static final DisconnectionType failed
public static final DisconnectionType busy
public static DisconnectionType[] values()
for (DisconnectionType c : DisconnectionType.values()) System.out.println(c);
public static DisconnectionType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<DisconnectionType>
public static DisconnectionType parseString(java.lang.String typeStr) throws java.lang.IllegalArgumentException
typeStr
- the String that we'd like to
parse.java.lang.IllegalArgumentException
- in case typeStr is
not a valid EndPointType.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.