|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectuk.ac.soton.itinnovation.freefluo.core.task.AbstractTask
uk.ac.soton.itinnovation.taverna.enactor.entities.ProcessorTask
public class ProcessorTask
The superclass of all actual task implementations
| Field Summary | |
|---|---|
static org.jdom.Namespace |
provNS
|
static java.lang.String |
REPORT_NAMESPACE
|
WorkflowInstance |
workflowInstance
|
| Constructor Summary | |
|---|---|
ProcessorTask(java.lang.String id,
uk.ac.soton.itinnovation.freefluo.core.flow.Flow flow,
Processor p,
uk.ac.soton.itinnovation.freefluo.task.LogLevel l,
java.lang.String userID,
java.lang.String userCtx)
|
|
| Method Summary | |
|---|---|
ProcessEvent[] |
getEventList()
Get the list of events thus far |
org.jdom.Element |
getFaultElement()
If the processor invocation throws an exception causing it to fail, this class will populate an XML element with as much information as possible about the exception that was thrown. |
Processor |
getProcessor()
Retrieves the XScufl Processor object for this task |
org.jdom.Element |
getProvenance()
Retrieve provenance information for this task, concrete tasks should overide this method and provide this information as an XML JDOM element |
java.util.List<java.lang.String> |
getProvenanceList()
|
WorkflowInstance |
getWorkflowInstance()
|
void |
handleRun(uk.ac.soton.itinnovation.freefluo.core.event.RunEvent runEvents)
Run the task |
| Methods inherited from class uk.ac.soton.itinnovation.freefluo.core.task.AbstractTask |
|---|
addBreakpoint, addChild, addParent, addTaskEventListener, addTaskStateListener, cancel, destroy, getChild, getChildren, getDescription, getEndTime, getErrorMessage, getExecutionTimeSoFar, getFlow, getName, getParent, getParents, getRunEvents, getStartTime, getState, getStateString, getTaskId, isBreakpoint, isCancelable, isCompleted, isCritical, isDataNonVolatile, isFailFlowOnTaskFailure, isPause, isPauseable, isStateFinal, linkTo, pause, removeBreakpoint, removeTaskEventListener, removeTaskStateListener, resume, run, setCompleted, setCritical, setErrorMessage, setFailFlowOnTaskFailure, taskStateChanged, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.embl.ebi.escience.scufl.IProcessorTask |
|---|
getChildren |
| Field Detail |
|---|
public static org.jdom.Namespace provNS
public static final java.lang.String REPORT_NAMESPACE
public WorkflowInstance workflowInstance
| Constructor Detail |
|---|
public ProcessorTask(java.lang.String id,
uk.ac.soton.itinnovation.freefluo.core.flow.Flow flow,
Processor p,
uk.ac.soton.itinnovation.freefluo.task.LogLevel l,
java.lang.String userID,
java.lang.String userCtx)
| Method Detail |
|---|
public java.util.List<java.lang.String> getProvenanceList()
public WorkflowInstance getWorkflowInstance()
getWorkflowInstance in interface IProcessorTaskpublic void handleRun(uk.ac.soton.itinnovation.freefluo.core.event.RunEvent runEvents)
handleRun in class uk.ac.soton.itinnovation.freefluo.core.task.AbstractTaskpublic ProcessEvent[] getEventList()
public Processor getProcessor()
getProcessor in interface IProcessorTaskpublic org.jdom.Element getProvenance()
public org.jdom.Element getFaultElement()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||