Package com.day.cq.workflow.exec
Interface JavaProcess
-
- All Known Subinterfaces:
JavaProcessExt
public interface JavaProcess
Deprecated.UseWorkflowProcess
instead.JavaProcess
is the interface for is 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.- See Also:
WorkflowProcess
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description void
execute(WorkItem item, WorkflowSession session)
Deprecated.
-
-
-
Method Detail
-
execute
void execute(WorkItem item, WorkflowSession session) throws java.lang.Exception
Deprecated.Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Parameters:
item
- The
that defines the newly startedWorkItem
JavaProcess
.session
- The
that is used for starting theWorkflowSession
JavaProcess
.- Throws:
java.lang.Exception
- Thrown in case something goes wrong during execution.
-
-