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 |
|---|---|
Map<String,Boolean> |
getMap()
Get the map of all states.
|
PluginRestartState |
getPluginRestartState(String pluginKey)
Gets whether the plugin is expected to be upgraded, installed, or removed on next restart
|
Map<String,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.
|
Map<String,Boolean> getMap()
boolean isEnabled(Plugin plugin)
boolean isEnabled(ModuleDescriptor<?> pluginModule)
Map<String,Boolean> getPluginStateMap(Plugin plugin)
plugin - PluginRestartState getPluginRestartState(String pluginKey)
pluginKey - The plugin to queryCopyright © 2014 Atlassian. All rights reserved.