Class ProjectPermissionOverrideDescriptorCache

java.lang.Object
com.atlassian.jira.security.ProjectPermissionOverrideDescriptorCache
All Implemented Interfaces:
Startable

public class ProjectPermissionOverrideDescriptorCache extends Object implements Startable
Simple cache for Project Permission Override Module Descriptors (@see ProjectPermissionOverrideModuleDescriptor) Modules being enabled / disabled trigger cache reload
Since:
v6.4
  • Constructor Details

    • ProjectPermissionOverrideDescriptorCache

      public ProjectPermissionOverrideDescriptorCache(com.atlassian.event.api.EventPublisher eventPublisher)
  • Method Details

    • onJiraPluginCacheResetEvent

      @EventListener public void onJiraPluginCacheResetEvent(JiraPluginCacheResetEvent event)
    • getProjectPermissionOverrideDescriptors

      public List<ProjectPermissionOverrideModuleDescriptor> getProjectPermissionOverrideDescriptors()
    • start

      public void start() throws Exception
      Description copied from interface: Startable
      This method will be called after the plugin system is fully initialised and all components added to the dependency injection framework.
      Specified by:
      start in interface Startable
      Throws:
      Exception - Allows implementations to throw an Exception.
    • reloadCache

      protected void reloadCache()