@Immutable @PublicApi public final class PermissionGrantInput extends Object
PermissionGrant
.
Use newGrant(com.atlassian.jira.permission.PermissionHolder, com.atlassian.jira.security.plugin.ProjectPermissionKey)
(holder, permission) method to create new instances.
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
PermissionHolder |
getHolder() |
ProjectPermissionKey |
getPermission() |
int |
hashCode() |
static PermissionGrantInput |
newGrant(PermissionHolder holder,
ProjectPermissionKey permissionKey)
Creates a new instance of this class.
|
String |
toString() |
public PermissionHolder getHolder()
public ProjectPermissionKey getPermission()
public static PermissionGrantInput newGrant(@Nonnull PermissionHolder holder, @Nonnull ProjectPermissionKey permissionKey)
holder
- permission holder, must not be nullpermissionKey
- permission key, must not be nullPermissionGrantInput
instanceCopyright © 2002-2019 Atlassian. All Rights Reserved.