Package com.atlassian.plugin.manager
Class DefaultPluginPersistentState
java.lang.Object
com.atlassian.plugin.manager.DefaultPluginPersistentState
- All Implemented Interfaces:
PluginPersistentState,StoredPluginState,Serializable
public final class DefaultPluginPersistentState
extends Object
implements Serializable, PluginPersistentState
Immutable implementation of the
PluginPersistentState interface.
The state stored in this object represents changes done by a user to the plugin's state. If "getPluginState()" or "getPluginModuleState()" return null, then the manager should assume that the default state applies instead.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.atlassian.plugin.manager.PluginPersistentState
PluginPersistentState.Builder, PluginPersistentState.Util -
Method Summary
Modifier and TypeMethodDescriptiongetPluginEnabledStateMap(Plugin plugin) static Map<String,PluginEnabledState> getPluginRestartState(String pluginKey) booleanisEnabled(ModuleDescriptor<?> pluginModule) booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.plugin.manager.PluginPersistentState
getMap, getPluginStateMap
-
Method Details
-
getStatesMap
- Specified by:
getStatesMapin interfaceStoredPluginState
-
isEnabled
- Specified by:
isEnabledin interfaceStoredPluginState
-
isEnabled
- Specified by:
isEnabledin interfaceStoredPluginState
-
getPluginEnabledStateMap
- Specified by:
getPluginEnabledStateMapin interfaceStoredPluginState
-
getPluginRestartState
- Specified by:
getPluginRestartStatein interfaceStoredPluginState
-
getPluginEnabledStateMap
-