Package com.day.cq.wcm.workflow.process
Class CreateVersionProcess
java.lang.Object
com.day.cq.wcm.workflow.process.CreateVersionProcess
- All Implemented Interfaces:
WorkflowProcess
@Service
@Property(name="process.label",
value="Create Version")
public class CreateVersionProcess
extends Object
implements WorkflowProcess
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) Executes a new Java process with the given
andWorkItem
.WorkflowSession
-
Field Details
-
TYPE_JCR_PATH
- See Also:
-
TYPE_JCR_UUID
- See Also:
-
-
Constructor Details
-
CreateVersionProcess
public CreateVersionProcess()
-
-
Method Details
-
execute
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException Description copied from interface:WorkflowProcess
Executes a new Java process with the given
andWorkItem
.WorkflowSession
- Specified by:
execute
in interfaceWorkflowProcess
- Parameters:
workItem
- The
that defines the newly startedWorkItem
JavaProcessNew
.workflowSession
- 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.
-