Addded description and version declaration to plugin

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@111777 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Luca Frosini 2015-02-06 16:14:15 +00:00
parent 3ad7c9e5dd
commit 47b68357e1
1 changed files with 16 additions and 0 deletions

View File

@ -18,6 +18,20 @@ public interface PluginDeclaration {
*/
public String getName();
/**
* This method is used by executor to retrieve an human oriented description
* and it will be published on the ServiceEndpoint created by the executor
* @return the plugin description.
*/
public String getDescription();
/**
* This method is used by executor to retrieve the plugin version.
* It will be published on the ServiceEndpoint created by the executor
* @return the plugin version
*/
public String getVersion();
/**
* This method is used by the Executor to get a key-value {@link Map}
* to be published on IS (on Generic Resource), so a client which want to
@ -32,5 +46,7 @@ public interface PluginDeclaration {
* @return the class which run the plugin
*/
public Class<? extends Plugin<? extends PluginDeclaration>> getPluginImplementation();
}