Package com.atlassian.jira.permission
Class PermissionGrantInput
java.lang.Object
com.atlassian.jira.permission.PermissionGrantInput
Input for building a
PermissionGrant.
Use newGrant(com.atlassian.jira.permission.PermissionHolder, com.atlassian.jira.security.plugin.ProjectPermissionKey)(holder, permission) method to create new instances.
-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static PermissionGrantInputnewGrant(PermissionHolder holder, ProjectPermissionKey permissionKey) Creates a new instance of this class.toString()
-
Method Details
-
getHolder
-
getPermission
-
newGrant
public static PermissionGrantInput newGrant(@Nonnull PermissionHolder holder, @Nonnull ProjectPermissionKey permissionKey) Creates a new instance of this class.- Parameters:
holder- permission holder, must not be nullpermissionKey- permission key, must not be null- Returns:
- a new
PermissionGrantInputinstance
-
toString
-
equals
-
hashCode
public int hashCode()
-