nl.utwente.ewi.hmi.taverna.scuflworkers.abstractprocessor
Class APTask
java.lang.Object
nl.utwente.ewi.hmi.taverna.scuflworkers.abstractprocessor.APTask
- All Implemented Interfaces:
- ProcessorTaskWorker
public class APTask
- extends java.lang.Object
- implements ProcessorTaskWorker
Class for executing the abstract process The process executes it's alternate,
if it has one, otherwise it shows its content
- Author:
- Ingo Wassink, Stuart Owen
|
Constructor Summary |
APTask(Processor processor)
Constructor of the task object |
|
Method Summary |
java.util.Map |
execute(java.util.Map inputMap,
IProcessorTask parentTask)
The method which is called when the process needs to be executed |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
APTask
public APTask(Processor processor)
- Constructor of the task object
- Parameters:
processor - the processor to be executed
execute
public java.util.Map execute(java.util.Map inputMap,
IProcessorTask parentTask)
throws TaskExecutionException
- The method which is called when the process needs to be executed
- Specified by:
execute in interface ProcessorTaskWorker
- Throws:
TaskExecutionException - thrown if an error occurs during task invocation