Package com.day.cq.workflow.exec
Interface WorkflowProcess
-
- All Known Implementing Classes:
AbsoluteTimeAutoAdvancer
,AbstractAssetWorkflowProcess
,AbstractFFMpegProcess
,ActivatePageProcess
,AfterMovePageProcess
,AutoAdvancer
,CreateVersionProcess
,DeactivatePageProcess
,DeletePageProcess
,ExtractExportDataProcess
,FFMpegStoryBoardProcess
,FFMpegThumbnailProcess
,FFMpegTranscodeProcess
,ReplicatePageProcess
,ReverseReplicateProcess
public interface WorkflowProcess
JavaProcessNew
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.This interface replaces the deprecated
JavaProcess
andJavaProcessExt
interfaces.- Since:
- 5.4
- See Also:
JavaProcess
,JavaProcessExt
-
-
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
JavaProcess
.args
- Process specific arguments can be passed here- Throws:
WorkflowException
- Thrown in case something goes wrong during execution.
-
-