Added init() function on plugins
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/vre-management/smart-executor-api@113888 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
cdfedf17eb
commit
7729529782
|
@ -11,6 +11,13 @@ import java.util.Map;
|
|||
*/
|
||||
public interface PluginDeclaration {
|
||||
|
||||
/**
|
||||
* This method is used by executor to ask to Plugin to initialize itself.
|
||||
* In some cases the plugin does not need the initialization. In that case
|
||||
* the plugin can just implement an empty method.
|
||||
*/
|
||||
public void init() throws Exception;
|
||||
|
||||
/**
|
||||
* This method is used by executor to retrieve the name of the Plugin
|
||||
* @return the name of the plugin used by the Executor to refer to the
|
||||
|
|
Loading…
Reference in New Issue