public interface StepExecutor
StepExecutor
can be used to support 3rd part code to execute workflow
steps, however the preferred method is to implement the WorkflowProcess
interface.WorkflowProcess
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute(java.lang.String workflowStepResource)
Returns true if this service can process the specified resource, false otherwise.
|
void |
execute(java.lang.String workflowStepResource,
WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap metaData)
Execute the step associate with resource.
|
void execute(java.lang.String workflowStepResource, WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaData) throws WorkflowException
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 metadataWorkflowException
- thrown in case
something goes wrong during executionboolean canExecute(java.lang.String workflowStepResource)
workflowStepResource
- the resource identifying the code to execute for this workflow step."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"