public enum Role extends Enum<Role>
Enum Constant and Description |
---|
moderator |
none |
participant |
visitor |
Modifier and Type | Method and Description |
---|---|
int |
getWeight() |
boolean |
isChangeAvailabilityStatus() |
boolean |
isChangeRoomNickname() |
boolean |
isGrantVoice() |
boolean |
isInviteOtherUsers() |
boolean |
isKickParticipantsAndVisitors() |
boolean |
isModifySubject() |
boolean |
isPresenceBroadcastedToRoom() |
boolean |
isPresentInRoom() |
boolean |
isReceiveMessages() |
boolean |
isReceiveOccupantPresence() |
boolean |
isRevokeVoice() |
boolean |
isSendMessagesToAll() |
boolean |
isSendPrivateMessages() |
static Role |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Role moderator
public static final Role none
public static final Role participant
public static final Role visitor
public static Role[] values()
for (Role c : Role.values()) System.out.println(c);
public static 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 nameNullPointerException
- if the argument is nullpublic int getWeight()
public boolean isChangeAvailabilityStatus()
public boolean isChangeRoomNickname()
public boolean isGrantVoice()
public boolean isInviteOtherUsers()
public boolean isKickParticipantsAndVisitors()
public boolean isModifySubject()
public boolean isPresenceBroadcastedToRoom()
public boolean isPresentInRoom()
public boolean isReceiveMessages()
public boolean isReceiveOccupantPresence()
public boolean isRevokeVoice()
public boolean isSendMessagesToAll()
public boolean isSendPrivateMessages()
Copyright © 2006–2022 Tigase. All rights reserved.