public static enum DtlsControl.Setup extends java.lang.Enum<DtlsControl.Setup>
Modifier and Type | Method and Description |
---|---|
static DtlsControl.Setup |
parseSetup(java.lang.String s)
Parses a String into a Setup enum value.
|
java.lang.String |
toString() |
static DtlsControl.Setup |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DtlsControl.Setup[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DtlsControl.Setup ACTIVE
public static final DtlsControl.Setup ACTPASS
public static final DtlsControl.Setup HOLDCONN
public static final DtlsControl.Setup PASSIVE
public static DtlsControl.Setup[] values()
for (DtlsControl.Setup c : DtlsControl.Setup.values()) System.out.println(c);
public static DtlsControl.Setup 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 static DtlsControl.Setup parseSetup(java.lang.String s)
toString()
; otherwise, the method will throw an exception.s
- the String to parse into a Setup enum
valuejava.lang.IllegalArgumentException
- if none of the Setup enum
values produce the specified s when toString() is
invoked on themjava.lang.NullPointerException
- if s is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<DtlsControl.Setup>
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.