📄 pluginstatestore.java
字号:
package com.opensymphony.tonic;
/**
* A wrapper object that the user implements to store the state of plugins.
*/
public interface PluginStateStore
{
/**
* Put the current global state of tonic activation/deactivation into permanent
* storage. The map passed in should have keys of the form "tonic" or
* "tonic:module", and Boolean values representing whether the tonic or
* module is enabled (true if it's enabled).
* <p/>
* <p>Callers should only pass in values for those plugins or modules that are
* <i>not</i> in their default state.
*
* @param state the map of tonic and module activation states
*/
void savePluginState(PluginManagerState state);
/**
* Get the saved activation state of loaded plugins or modules. The map
* will be identical to the one described in savePluginState.
*
* @return the configured activation/deactivation state for plugins in this Confluence
* instance.
*/
PluginManagerState loadPluginState();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -