Class EmptyPluginPersistentState

  • All Implemented Interfaces:
    com.atlassian.plugin.manager.PluginPersistentState, com.atlassian.plugin.StoredPluginState

    public class EmptyPluginPersistentState
    extends Object
    implements com.atlassian.plugin.manager.PluginPersistentState
    Represents plugin state that is never persisted. This class always simply returns the default enable state of any given plugin or module.
    Since:
    7.0.1
    • Constructor Detail

      • EmptyPluginPersistentState

        public EmptyPluginPersistentState()
    • Method Detail

      • getStatesMap

        public Map<String,​com.atlassian.plugin.manager.PluginEnabledState> getStatesMap()
        Specified by:
        getStatesMap in interface com.atlassian.plugin.StoredPluginState
      • isEnabled

        public boolean isEnabled​(com.atlassian.plugin.Plugin plugin)
        Specified by:
        isEnabled in interface com.atlassian.plugin.StoredPluginState
      • isEnabled

        public boolean isEnabled​(com.atlassian.plugin.ModuleDescriptor<?> moduleDescriptor)
        Specified by:
        isEnabled in interface com.atlassian.plugin.StoredPluginState
      • getPluginEnabledStateMap

        public Map<String,​com.atlassian.plugin.manager.PluginEnabledState> getPluginEnabledStateMap​(com.atlassian.plugin.Plugin plugin)
        Specified by:
        getPluginEnabledStateMap in interface com.atlassian.plugin.StoredPluginState
      • getPluginRestartState

        public com.atlassian.plugin.PluginRestartState getPluginRestartState​(String s)
        Specified by:
        getPluginRestartState in interface com.atlassian.plugin.StoredPluginState