Class LoadOnlyPluginPersistentStateStore

java.lang.Object
com.atlassian.plugin.manager.store.LoadOnlyPluginPersistentStateStore
All Implemented Interfaces:
PluginPersistentStateStore

@ExperimentalApi public class LoadOnlyPluginPersistentStateStore extends Object implements PluginPersistentStateStore
A read-only implementation of PluginPersistentStateStore which returns a state provided on construction.

The held PluginPersistentState is not read-only - external modification to it is not prevented, and will be reflected in the state returned from load().

Since:
3.2.0
  • Constructor Details

    • LoadOnlyPluginPersistentStateStore

      public LoadOnlyPluginPersistentStateStore()
    • LoadOnlyPluginPersistentStateStore

      public LoadOnlyPluginPersistentStateStore(PluginPersistentState pluginPersistentState)
  • Method Details