Enum SharedGroupVisibility

    • Enum Constant Detail

      • nobody

        public static final SharedGroupVisibility nobody
        Users of this group are not shared with anyone.
      • everybody

        public static final SharedGroupVisibility everybody
        Users of this group are shared with all other users in Openfire.
      • usersOfGroups

        public static final SharedGroupVisibility 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 Detail

      • values

        public static SharedGroupVisibility[] 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 (SharedGroupVisibility c : SharedGroupVisibility.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static SharedGroupVisibility valueOf​(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:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getDbValue

        @Nonnull
        public String getDbValue()