Class PermissionSubject.JiraGroup
Object
PermissionSubject
JiraGroup
- All Implemented Interfaces:
Cloneable
- Enclosing class:
- PermissionSubject
Represents a specific group in JIRA, matching only the users that belong to that group.
-
Nested Class Summary
Nested classes/interfaces inherited from class PermissionSubject
PermissionSubject.Anyone, PermissionSubject.JiraGroup, PermissionSubject.JiraUser, PermissionSubject.ProjectRole, PermissionSubject.Visitor<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()booleanmatches(ApplicationUser user) voidsetGroupName(String groupName) <T> Tvisit(PermissionSubject.Visitor<T> visitor, T carry) Calls an appropriate visitor method, passing this PermissionSubject and the carry parameter.Methods inherited from class PermissionSubject
clone, clone, fromEncodedString, fromEncodedString, toString
-
Constructor Details
-
JiraGroup
public JiraGroup() -
JiraGroup
-
JiraGroup
public JiraGroup(@Nullable Group group)
-
-
Method Details
-
getGroupName
-
setGroupName
-
matches
public boolean matches(ApplicationUser user) - Specified by:
matchesin classPermissionSubject
-
toEncodedString
- Specified by:
toEncodedStringin classPermissionSubject- Returns:
- a string representation of this permission subject
- See Also:
-
visit
Description copied from class:PermissionSubjectCalls an appropriate visitor method, passing this PermissionSubject and the carry parameter.- Specified by:
visitin classPermissionSubject- Returns:
- the result of the call
-
equals
-
hashCode
public int hashCode()
-