Class Group

java.lang.Object
org.apache.nifi.authorization.Group

public class Group extends Object
A group that users can belong to.
  • Field Details

    • identifier

      private final String identifier
    • name

      private final String name
    • users

      private final Set<String> users
  • Constructor Details

  • Method Details

    • getIdentifier

      public String getIdentifier()
      Returns:
      the identifier of the group
    • getName

      public String getName()
      Returns:
      the name of the group
    • getUsers

      public Set<String> getUsers()
      Returns:
      an unmodifiable set of user identifiers that belong to this group
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object