public class UserPermissionJsonBean extends PermissionJsonBean
Modifier and Type | Field and Description |
---|---|
Boolean |
deprecatedKey |
boolean |
havePermission |
description, name, type
Constructor and Description |
---|
UserPermissionJsonBean() |
UserPermissionJsonBean(GlobalPermissionType globalPermissionType,
boolean havePermission,
JiraAuthenticationContext authenticationContext)
Construct a bean using a Global Permission - rather than the Permission enum
|
UserPermissionJsonBean(Permissions.Permission permission,
boolean havePermission,
JiraAuthenticationContext authenticationContext) |
UserPermissionJsonBean(ProjectPermission permission,
boolean havePermission,
JiraAuthenticationContext authenticationContext)
Construct a bean using a Project Permission
|
UserPermissionJsonBean(ProjectPermissionKey permissionKey,
String name,
String description,
boolean havePermission) |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
fromGlobalPermission, fromProjectPermission
asPermission, fullBean, id, id, key, key
public boolean havePermission
public Boolean deprecatedKey
public UserPermissionJsonBean()
public UserPermissionJsonBean(GlobalPermissionType globalPermissionType, boolean havePermission, JiraAuthenticationContext authenticationContext)
public UserPermissionJsonBean(ProjectPermission permission, boolean havePermission, JiraAuthenticationContext authenticationContext)
public UserPermissionJsonBean(Permissions.Permission permission, boolean havePermission, JiraAuthenticationContext authenticationContext)
public UserPermissionJsonBean(ProjectPermissionKey permissionKey, String name, String description, boolean havePermission)
public String toString()
toString
in class PermissionJsonBean
Copyright © 2002-2019 Atlassian. All Rights Reserved.