public interface PluginPersistentState
| Modifier and Type | Interface and Description |
|---|---|
static class |
PluginPersistentState.Builder
Builder for
PluginPersistentState instances. |
static class |
PluginPersistentState.Util |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Boolean> |
getMap()
Get the map of all states.
|
PluginRestartState |
getPluginRestartState(java.lang.String pluginKey)
Gets whether the plugin is expected to be upgraded, installed, or removed on next restart
|
java.util.Map<java.lang.String,java.lang.Boolean> |
getPluginStateMap(Plugin plugin)
Get state map of the given plugin and its modules
|
boolean |
isEnabled(ModuleDescriptor<?> pluginModule)
Whether or not a given plugin module is enabled in this state, calculated from it's current state AND default state.
|
boolean |
isEnabled(Plugin plugin)
Whether or not a plugin is enabled, calculated from it's current state AND default state.
|
java.util.Map<java.lang.String,java.lang.Boolean> getMap()
boolean isEnabled(Plugin plugin)
boolean isEnabled(ModuleDescriptor<?> pluginModule)
java.util.Map<java.lang.String,java.lang.Boolean> getPluginStateMap(Plugin plugin)
plugin - PluginRestartState getPluginRestartState(java.lang.String pluginKey)
pluginKey - The plugin to queryCopyright © 2013 Atlassian. All Rights Reserved.