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 TypeMethodDescriptionvoid
execute
(WorkItem item, WorkflowSession session, MetaDataMap args) Executes a new Java process with the given
andWorkItem
.WorkflowSession
-
Method Details
-
execute
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.
-