Class GroupCategory


  • public class GroupCategory
    extends java.lang.Object
    A group category is used to annotate change groups so that they can be identified and filtered.

    Note: this class is not intended to be subclassed

    Since:
    3.2
    Restriction:
    This class is not intended to be subclassed by clients.
    • Constructor Summary

      Constructors 
      Constructor Description
      GroupCategory​(java.lang.String id, java.lang.String name, java.lang.String description)
      Creates a new group category with the given name and description.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.lang.String getDescription()
      Returns the description of the group category.
      java.lang.String getName()
      Returns the name of the group category.
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GroupCategory

        public GroupCategory​(java.lang.String id,
                             java.lang.String name,
                             java.lang.String description)
        Creates a new group category with the given name and description.
        Parameters:
        id - a unique identifier
        name - the name
        description - the description
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name of the group category.
        Returns:
        the name
      • getDescription

        public java.lang.String getDescription()
        Returns the description of the group category.
        Returns:
        the description
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object