Package org.jivesoftware.openfire.group
Enum Class SharedGroupVisibility
- All Implemented Interfaces:
Serializable
,Comparable<SharedGroupVisibility>
,Constable
Describes with which users a group is shared as a group on their roster.
- Author:
- Guus der Kinderen, guus.der.kinderen@gmail.com
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUsers of this group are shared with all other users in Openfire.Users of this group are not shared with anyone.Defines a collection of group names (one or more). -
Method Summary
Modifier and TypeMethodDescriptionstatic SharedGroupVisibility
fromDatabaseValue
(String dbValue) static SharedGroupVisibility
Returns the enum constant of this class with the specified name.static SharedGroupVisibility[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
nobody
Users of this group are not shared with anyone. -
everybody
Users of this group are shared with all other users in Openfire. -
usersOfGroups
Defines a collection of group names (one or more). Users in those groups will be able to see the users in the group for which this visibility is defined. Note that this value is used for both the 'Users of the same group' and 'the following groups' UI setting.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getDbValue
-
fromDatabaseValue
-