⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pluginstatestore.java

📁 模块化您的应用系统
💻 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 + -