public abstract class RollbackableWorkflowTaskInstance extends Object implements WorkflowTaskInstance
Modifier and Type | Field and Description |
---|---|
protected XmlRpcWorkflowManagerClient |
wmc |
protected String |
workflowInstId |
Constructor and Description |
---|
RollbackableWorkflowTaskInstance() |
Modifier and Type | Method and Description |
---|---|
protected void |
clearAllMetadata(Metadata metadata) |
abstract void |
clearInstRep() |
protected XmlRpcWorkflowManagerClient |
createWorkflowMangerClient(Metadata metadata) |
protected String |
getWorkflowInstanceId(Metadata metadata) |
void |
run(Metadata metadata,
WorkflowTaskConfiguration config)
Runs the Task with the specified metadata context.
|
abstract void |
updateState(Metadata metadata) |
protected XmlRpcWorkflowManagerClient wmc
protected String workflowInstId
public void run(Metadata metadata, WorkflowTaskConfiguration config) throws WorkflowTaskInstanceException
WorkflowTaskInstance
Runs the Task with the specified metadata context.
run
in interface WorkflowTaskInstance
metadata
- The TaskContext of metadata that is shared between the tasks.config
- The static configuration metadata for this task.WorkflowTaskInstanceException
protected XmlRpcWorkflowManagerClient createWorkflowMangerClient(Metadata metadata)
protected void clearAllMetadata(Metadata metadata)
public abstract void updateState(Metadata metadata)
public abstract void clearInstRep()
Copyright © 1999–2017 Apache OODT. All rights reserved.