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 a WorkflowNode
and executed by the workflow engine.
This interface replaces the deprecated JavaProcess and
JavaProcessExt interfaces.
- Since:
- 5.4
- See Also:
-
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 theWorkflowSessionJavaProcess.args- Process specific arguments can be passed here- Throws:
WorkflowException- Thrown in case something goes wrong during execution.
-