public class EngineResource
extends org.gcube.common.core.state.GCUBEWSResource
GCUBEWSResource for the singleton resource of the engine.| Constructor and Description |
|---|
EngineResource() |
| Modifier and Type | Method and Description |
|---|---|
ExecutorPluginContext |
getContext(String name)
Returns the context of a plugin with a given name.
|
String[] |
getPropertyNames() |
protected void |
initialise(Object... args) |
TaskResource |
launch(String name,
org.gcube.vremanagement.executor.stubs.AnyMap input)
Launch a task with a given name and a given input.
|
getCurrentTime, getEPR, getPorttypeContext, getProperty, getPublisher, getResourcePropertySet, getServiceContext, getTerminationTime, getTopicList, getTopicNames, initialise, initialiseContainers, inScope, load, publish, setPortTypeContext, setTerminationTime, unpublishgetID, getLock, getScheduledTasks, getScope, launchTask, onRemove, setID, setPersistenceDelegate, stopTask, storegetPortTypeMap, setPortTypeMapprotected void initialise(Object... args) throws Exception, IllegalArgumentException
initialise in class org.gcube.common.core.state.GCUBEWSResourceExceptionIllegalArgumentExceptionpublic ExecutorPluginContext getContext(String name) throws Exception
name - the name.Exceptionpublic TaskResource launch(String name, org.gcube.vremanagement.executor.stubs.AnyMap input) throws Exception
name - the name.input - the input.TaskResource that models the execution of the task.Exception - if the task did not exist or could not be launched.public String[] getPropertyNames()
getPropertyNames in class org.gcube.common.core.state.GCUBEWSResourceCopyright © 2015. All Rights Reserved.