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 aWorkflowNode
and executed by the workflow engine.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
execute(WorkItem item, WorkflowSession session, MetaDataMap args)
Executes a new Java process with the given
andWorkItem
.WorkflowSession
-
-
-
Method Detail
-
execute
void execute(WorkItem item, WorkflowSession session, MetaDataMap args) throws WorkflowException
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
item
- The
that defines the newly startedWorkItem
JavaProcessNew
.session
- The
that is used for starting theWorkflowSession
WorkflowProcess
.args
- Process specific arguments can be passed here- Throws:
WorkflowException
- Thrown in case something goes wrong during execution.
-
-