|
Openfire 3.3.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<MUCRole.Role>
org.jivesoftware.openfire.muc.MUCRole.Role
public static enum MUCRole.Role
Enum Constant Summary | |
---|---|
moderator
Runs moderated discussions. |
|
none
An occupant who does not permission to stay in the room (was banned) |
|
participant
A normal occupant of the room. |
|
visitor
An occupant who does not have voice (can't speak in the room) |
Method Summary | |
---|---|
int |
getValue()
Returns the value for the role. |
static MUCRole.Role |
valueOf(int value)
Returns the affiliation associated with the specified value. |
static MUCRole.Role |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MUCRole.Role[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final MUCRole.Role moderator
public static final MUCRole.Role participant
public static final MUCRole.Role visitor
public static final MUCRole.Role none
Method Detail |
---|
public static final MUCRole.Role[] values()
for(MUCRole.Role c : MUCRole.Role.values()) System.out.println(c);
public static MUCRole.Role valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic int getValue()
public static MUCRole.Role valueOf(int value)
value
- the value.
|
Openfire 3.3.0 Javadoc | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |