public abstract class ModuleManager extends Object
| Modifier and Type | Field and Description |
|---|---|
protected WikiEngine |
m_engine |
static String |
PLUGIN_RESOURCE_LOCATION
Location of the property-files of plugins.
|
| Constructor and Description |
|---|
ModuleManager(WikiEngine engine)
Constructs the ModuleManager.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCompatibility(WikiModuleInfo info)
Returns true, if the given module is compatible with this version of JSPWiki.
|
abstract WikiModuleInfo |
getModuleInfo(String moduleName)
Returns the
WikiModuleInfo information about the provided moduleName. |
abstract Collection<WikiModuleInfo> |
modules()
Returns a collection of modules currently managed by this ModuleManager.
|
protected <T extends WikiModuleInfo> |
modules(Iterator<T> iterator) |
public static final String PLUGIN_RESOURCE_LOCATION
protected WikiEngine m_engine
public ModuleManager(WikiEngine engine)
engine - The WikiEngine which owns this manager.public boolean checkCompatibility(WikiModuleInfo info)
info - The module to checkpublic abstract Collection<WikiModuleInfo> modules()
protected <T extends WikiModuleInfo> Collection<WikiModuleInfo> modules(Iterator<T> iterator)
public abstract WikiModuleInfo getModuleInfo(String moduleName)
WikiModuleInfo information about the provided moduleName.moduleName - Copyright © 2001-2019 The Apache Software Foundation. All rights reserved.