Package com.adobe.granite.workflow.exec
Interface StepExecutor
- 
- All Known Implementing Classes:
 CQWorkflowProcessRunner
public interface StepExecutorService Interface to support execution of 3rd party workflow step code.StepExecutorcan be used to support 3rd part code to execute workflow steps, however the preferred method is to implement theWorkflowProcessinterface.- See Also:
 WorkflowProcess
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleancanExecute(java.lang.String workflowStepResource)Returns true if this service can process the specified resource, false otherwise.voidexecute(java.lang.String workflowStepResource, WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData)Execute the step associate with resource. 
 - 
 
- 
- 
Method Detail
- 
execute
void execute(java.lang.String workflowStepResource, WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData) throws WorkflowExceptionExecute the step associate with resource.- Parameters:
 workflowStepResource- the resource identifying the code to execute for this workflow step.workItem- the workitem associate with the current step.workflowSession- the current workflow sessionmetaData- the workflow step's metadata- Throws:
 WorkflowException- thrown in case something goes wrong during execution
 
- 
canExecute
boolean canExecute(java.lang.String workflowStepResource)
Returns true if this service can process the specified resource, false otherwise.- Parameters:
 workflowStepResource- the resource identifying the code to execute for this workflow step.- Returns:
 - true if this service can process the specified resource, false otherwise.
 
 
 - 
 
 -