public interface Plugin
Modifier and Type | Method and Description |
---|---|
PluginEntry |
getPluginEntry()
Gets the original persisted plugin entry associated with the plugin.
|
void |
init(PluginEntry pluginEntry,
org.springframework.context.ApplicationContext applicationContext)
Initilizes the plugin.
|
String |
runPlugin(Map<String,Object> params)
Executes the plugin.
|
void |
shutdown()
Shuts down the plugin to release any resources.
|
String runPlugin(Map<String,Object> params)
params
- context parameters passed to execute the plug-invoid init(PluginEntry pluginEntry, org.springframework.context.ApplicationContext applicationContext)
pluginEntry
- the persisted plugin entry for the plugin.applicationContext
- Spring application context.void shutdown()
PluginEntry getPluginEntry()
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.