Package tigase.muc
Enum RoomConfig.PrivateMessageACL
- java.lang.Object
-
- java.lang.Enum<RoomConfig.PrivateMessageACL>
-
- tigase.muc.RoomConfig.PrivateMessageACL
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RoomConfig.PrivateMessageACL>
- Enclosing class:
- RoomConfig
public static enum RoomConfig.PrivateMessageACL extends java.lang.Enum<RoomConfig.PrivateMessageACL>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description anyone
moderators
none
participants
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RoomConfig.PrivateMessageACL
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RoomConfig.PrivateMessageACL[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
anyone
public static final RoomConfig.PrivateMessageACL anyone
-
participants
public static final RoomConfig.PrivateMessageACL participants
-
moderators
public static final RoomConfig.PrivateMessageACL moderators
-
none
public static final RoomConfig.PrivateMessageACL none
-
-
Method Detail
-
values
public static RoomConfig.PrivateMessageACL[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (RoomConfig.PrivateMessageACL c : RoomConfig.PrivateMessageACL.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RoomConfig.PrivateMessageACL valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-