public class PluginRegistry extends TrackableBase implements Serializable
GLOBAL_LEVEL, USER_LEVEL
Constructor and Description |
---|
PluginRegistry() |
Modifier and Type | Method and Description |
---|---|
void |
addPlugin(Plugin plugin)
Method addPlugin.
|
void |
flushPluginsByKey() |
String |
getAutoUpdate()
Get specifies whether the user should be prompted to update
plugins.
|
String |
getCheckLatest()
Get whether to resolve plugin versions using LATEST
metadata.
|
String |
getModelEncoding()
Get the modelEncoding field.
|
List<Plugin> |
getPlugins()
Method getPlugins.
|
Map |
getPluginsByKey() |
RuntimeInfo |
getRuntimeInfo() |
String |
getUpdateInterval()
Get specifies how often to check for plugin updates.
|
void |
removePlugin(Plugin plugin)
Method removePlugin.
|
void |
setAutoUpdate(String autoUpdate)
Set specifies whether the user should be prompted to update
plugins.
|
void |
setCheckLatest(String checkLatest)
Set whether to resolve plugin versions using LATEST
metadata.
|
void |
setModelEncoding(String modelEncoding)
Set the modelEncoding field.
|
void |
setPlugins(List<Plugin> plugins)
Set specified plugin update policy information.
|
void |
setRuntimeInfo(RuntimeInfo runtimeInfo) |
void |
setUpdateInterval(String updateInterval)
Set specifies how often to check for plugin updates.
|
getSourceLevel, setSourceLevel
public void addPlugin(Plugin plugin)
plugin
- public String getAutoUpdate()
public String getCheckLatest()
public String getModelEncoding()
public String getUpdateInterval()
public void removePlugin(Plugin plugin)
plugin
- public void setAutoUpdate(String autoUpdate)
autoUpdate
- public void setCheckLatest(String checkLatest)
checkLatest
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setPlugins(List<Plugin> plugins)
plugins
- public void setUpdateInterval(String updateInterval)
updateInterval
- public Map getPluginsByKey()
public void flushPluginsByKey()
public void setRuntimeInfo(RuntimeInfo runtimeInfo)
public RuntimeInfo getRuntimeInfo()
Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.