Class JiraPluginPersistentStateStore

java.lang.Object
com.atlassian.jira.plugin.JiraPluginPersistentStateStore
All Implemented Interfaces:
InitializingComponent, com.atlassian.plugin.manager.PluginPersistentStateStore

public class JiraPluginPersistentStateStore extends Object implements com.atlassian.plugin.manager.PluginPersistentStateStore, InitializingComponent
  • Field Details

    • UPDATE_LOCK_NAME

      public static final String UPDATE_LOCK_NAME
  • Constructor Details

  • Method Details

    • onClearCache

      @EventListener public void onClearCache(ClearCacheEvent event)
    • save

      public void save(com.atlassian.plugin.manager.PluginPersistentState state)
      This method is synchronised so that you don't have two people trying to save plugin state at the same time, and over-writing each others changes.
      Specified by:
      save in interface com.atlassian.plugin.manager.PluginPersistentStateStore
    • load

      public com.atlassian.plugin.manager.PluginPersistentState load()
      Specified by:
      load in interface com.atlassian.plugin.manager.PluginPersistentStateStore
    • afterInstantiation

      public void afterInstantiation() throws Exception
      Description copied from interface: InitializingComponent
      Called after all the beans are constructed and the ApplicationContext is fully populated. Order of execution is order of bean creation, driven by InitializingComponentProcessor.
      Specified by:
      afterInstantiation in interface InitializingComponent
      Throws:
      Exception
    • stripDotsFromPluginKeys

      public void stripDotsFromPluginKeys()