public enum MUCAffiliation extends Enum<MUCAffiliation>
Modifier and Type | Method and Description |
---|---|
static MUCAffiliation |
fromString(String string) |
static MUCAffiliation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MUCAffiliation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MUCAffiliation owner
public static final MUCAffiliation admin
public static final MUCAffiliation member
public static final MUCAffiliation outcast
public static final MUCAffiliation none
public static MUCAffiliation[] values()
for (MUCAffiliation c : MUCAffiliation.values()) System.out.println(c);
public static MUCAffiliation 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 static MUCAffiliation fromString(String string)