public class MockGlobalPermissionTypeManager extends Object implements GlobalPermissionTypesManager
Modifier and Type | Field and Description |
---|---|
static List<GlobalPermissionType> |
SYSTEM_PERMISSIONS |
Constructor and Description |
---|
MockGlobalPermissionTypeManager() |
Modifier and Type | Method and Description |
---|---|
Collection<GlobalPermissionType> |
getAll()
Returns all global permissions defined in this JIRA instance.
|
io.atlassian.fugue.Option<GlobalPermissionType> |
getGlobalPermission(GlobalPermissionKey permissionKey)
Returns the details of the given Global Permission.
|
io.atlassian.fugue.Option<GlobalPermissionType> |
getGlobalPermission(String permissionKey)
Returns the details of the given Global Permission.
|
public static List<GlobalPermissionType> SYSTEM_PERMISSIONS
public Collection<GlobalPermissionType> getAll()
GlobalPermissionTypesManager
getAll
in interface GlobalPermissionTypesManager
public io.atlassian.fugue.Option<GlobalPermissionType> getGlobalPermission(@Nonnull String permissionKey)
GlobalPermissionTypesManager
getGlobalPermission
in interface GlobalPermissionTypesManager
permissionKey
- the String based permission keypublic io.atlassian.fugue.Option<GlobalPermissionType> getGlobalPermission(@Nonnull GlobalPermissionKey permissionKey)
GlobalPermissionTypesManager
getGlobalPermission
in interface GlobalPermissionTypesManager
permissionKey
- the GlobalPermissionKey representing this Global Permission.Copyright © 2002-2019 Atlassian. All Rights Reserved.