public class

JiraPluginPersistentStateStore

extends Object
implements InitializingComponent PluginPersistentStateStore
java.lang.Object
   ↳ com.atlassian.jira.plugin.JiraPluginPersistentStateStore

Summary

Fields
public static final String UPDATE_LOCK_NAME
Public Constructors
JiraPluginPersistentStateStore(OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore, ClusterManager clusterManager, ApplicationProperties applicationProperties, ClusterLockService lockService)
Public Methods
void afterInstantiation()
PluginPersistentState load()
@EventListener void onClearCache(ClearCacheEvent event)
void save(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.
void stripDotsFromPluginKeys()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.InitializingComponent
From interface com.atlassian.plugin.manager.PluginPersistentStateStore

Fields

public static final String UPDATE_LOCK_NAME

Public Constructors

public JiraPluginPersistentStateStore (OfBizPluginPersistentStateStore ofBizPluginPersistentStateStore, ClusterManager clusterManager, ApplicationProperties applicationProperties, ClusterLockService lockService)

Public Methods

public void afterInstantiation ()

Throws
Exception

public PluginPersistentState load ()

@EventListener public void onClearCache (ClearCacheEvent event)

public void save (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.

public void stripDotsFromPluginKeys ()