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 |
|---|---|
default Map<String,Boolean> |
getMap()
Deprecated.
please use
getStatesMap() instead |
Map<String,PluginEnabledState> |
getPluginEnabledStateMap(Plugin plugin)
Get state map of the given plugin and its modules.
|
PluginRestartState |
getPluginRestartState(String pluginKey)
Gets whether the plugin is expected to be upgraded, installed, or removed on next restart
|
default Map<String,Boolean> |
getPluginStateMap(Plugin plugin)
Deprecated.
please use
getPluginEnabledStateMap(Plugin) instead |
Map<String,PluginEnabledState> |
getStatesMap()
Get the map of all states with the update timestamp for each of them.
|
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.
|
@Deprecated default Map<String,Boolean> getMap()
getStatesMap() insteadMap<String,PluginEnabledState> getStatesMap()
PluginEnabledStateboolean isEnabled(Plugin plugin)
boolean isEnabled(ModuleDescriptor<?> pluginModule)
@Deprecated default Map<String,Boolean> getPluginStateMap(Plugin plugin)
getPluginEnabledStateMap(Plugin) insteadplugin - the pluginMap<String,PluginEnabledState> getPluginEnabledStateMap(Plugin plugin)
plugin - the pluginPluginEnabledStatePluginRestartState getPluginRestartState(String pluginKey)
pluginKey - The plugin to queryCopyright © 2018 Atlassian. All rights reserved.