Class ProjectPermissionTypesManagerImpl
java.lang.Object
com.atlassian.jira.security.plugin.ProjectPermissionTypesManagerImpl
- All Implemented Interfaces:
Startable,ProjectPermissionTypesManager
public class ProjectPermissionTypesManagerImpl
extends Object
implements ProjectPermissionTypesManager, Startable
- Since:
- v6.3
-
Constructor Summary
ConstructorsConstructorDescriptionProjectPermissionTypesManagerImpl(PluginModuleTrackerFactory trackerFactory) -
Method Summary
Modifier and TypeMethodDescriptionall()booleanexists(ProjectPermissionKey permissionKey) Returns a boolean value indicating whether a project permission with the given key exists.voidonClearCache(ClearCacheEvent event) voidstart()This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.withCategory(ProjectPermissionCategory category) io.atlassian.fugue.Option<ProjectPermission>withKey(ProjectPermissionKey permissionKey) Returns a project permission matching the specified key.
-
Constructor Details
-
ProjectPermissionTypesManagerImpl
-
-
Method Details
-
onClearCache
-
start
public void start()Description copied from interface:StartableThis method will be called after the plugin system is fully initialised and all components added to the dependency injection framework. -
all
- Specified by:
allin interfaceProjectPermissionTypesManager- Returns:
- all project permissions.
-
withCategory
- Specified by:
withCategoryin interfaceProjectPermissionTypesManager- Parameters:
category- project permission category.- Returns:
- all project permissions of the specified category.
-
withKey
Description copied from interface:ProjectPermissionTypesManagerReturns a project permission matching the specified key.- Specified by:
withKeyin interfaceProjectPermissionTypesManager- Parameters:
permissionKey- A project permission key.- Returns:
- a project permission for the given permission key.
Option.none()if there is no permission with this key.
-
exists
Description copied from interface:ProjectPermissionTypesManagerReturns a boolean value indicating whether a project permission with the given key exists.- Specified by:
existsin interfaceProjectPermissionTypesManager- Parameters:
permissionKey- A project permission key.- Returns:
- true if the permission with the given key exists, otherwise false.
-