Package com.adobe.granite.workflow.exec
Interface WorkflowProcess
public interface WorkflowProcess
WorkflowProcess is 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 a WorkflowNode
and executed by the workflow engine.-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(WorkItem item, WorkflowSession session, MetaDataMap args) Executes a new Java process with the givenandWorkItem.WorkflowSession
-
Method Details
-
execute
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.
-