org.gcube.vremanagement.executor.state
Class EngineResource
java.lang.Object
GCUBEWSResource
org.gcube.vremanagement.executor.state.EngineResource
public class EngineResource
- extends GCUBEWSResource
Specialises GCUBEWSResource
for the singleton resource of the engine.
- Author:
- Fabio Simeoni (University of Strathclyde), Kostantinos Liaskov (University of Strathclyde)
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EngineResource
public EngineResource()
getContext
public ExecutorPluginContext getContext(java.lang.String name)
throws java.lang.Exception
- Returns the context of a plugin with a given name.
- Parameters:
name
- the name.
- Returns:
- the context
- Throws:
java.lang.Exception
launch
public TaskResource launch(java.lang.String name,
AnyMap input)
throws java.lang.Exception
- Launch a task with a given name and a given input.
- Parameters:
name
- the name.input
- the input.
- Returns:
- a
TaskResource
that models the execution of the task.
- Throws:
java.lang.Exception
- if the task did not exist or could not be launched.
getPropertyNames
public java.lang.String[] getPropertyNames()
-