Package com.adobe.granite.workflow.exec
Interface WorkflowProcess
-
- All Known Implementing Classes:
AbstractScheduledReplicationBPProcess,ScheduledPublishBPProcess,ScheduledUnPublishBPProcess
public interface WorkflowProcessWorkflowProcessis the interface to be used for automatic workflow steps implemented in Java. Classes implementing this interface define Java based processes that can be attached to aWorkflowNodeand executed by the workflow engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidexecute(WorkItem item, WorkflowSession session, MetaDataMap args)Executes a new Java process with the givenandWorkItem.WorkflowSession
-
-
-
Method Detail
-
execute
void execute(WorkItem item, WorkflowSession session, MetaDataMap args) throws WorkflowException
Executes a new Java process with the givenandWorkItem.WorkflowSession- Parameters:
item- Thethat defines the newly startedWorkItemJavaProcessNew.session- Thethat is used for starting theWorkflowSessionWorkflowProcess.args- Process specific arguments can be passed here- Throws:
WorkflowException- Thrown in case something goes wrong during execution.
-
-