public interface PluginDeclaration
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
This method is used by executor to retrieve an human oriented description
and it will be published on the ServiceEndpoint created by the executor
|
String |
getName()
This method is used by executor to retrieve the name of the Plugin
|
Class<? extends Plugin<? extends PluginDeclaration>> |
getPluginImplementation()
Used to retrieve the class which run the plugin
|
Map<String,String> |
getSupportedCapabilities()
This method is used by the Executor to get a key-value
Map
to be published on IS (on Generic Resource), so a client which want to
launch a Plugin only under certain condition can query the Generic
Resource in the proper way to obtain its own filtered list. |
String |
getVersion()
This method is used by executor to retrieve the plugin version.
|
void |
init()
This method is used by executor to ask to Plugin to initialize itself.
|
void init() throws Exception
ExceptionString getName()
String getDescription()
String getVersion()
Map<String,String> getSupportedCapabilities()
Map
to be published on IS (on Generic Resource), so a client which want to
launch a Plugin only under certain condition can query the Generic
Resource in the proper way to obtain its own filtered list.Map with the supported capabilitiesClass<? extends Plugin<? extends PluginDeclaration>> getPluginImplementation()
Copyright © 2017. All Rights Reserved.