| com.atlassian.plugin.manager.PluginPersistentState |
Known Indirect Subclasses
|
Interface that represents a configuration state for plugins and plugin modules. The configuration state (enabled or disabled) is separate from the plugins and modules themselves because a plugin may have multiple states depending on the context.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| PluginPersistentState.Builder | Builder for PluginPersistentState instances. |
||||||||||
| PluginPersistentState.Util | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Get the map of all states.
| |||||||||||
Gets whether the plugin is expected to be upgraded, installed, or removed on next restart
| |||||||||||
Get state map of the given plugin and its modules
| |||||||||||
Whether or not a plugin is enabled, calculated from it's current state AND default state.
| |||||||||||
Whether or not a given plugin module is enabled in this state, calculated from it's current state AND default state.
| |||||||||||
Get the map of all states.
Gets whether the plugin is expected to be upgraded, installed, or removed on next restart
| pluginKey | The plugin to query |
|---|
Get state map of the given plugin and its modules
Whether or not a plugin is enabled, calculated from it's current state AND default state.
Whether or not a given plugin module is enabled in this state, calculated from it's current state AND default state.