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 java.lang.Object implements WorkflowProcess
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_JCR_PATHstatic java.lang.StringTYPE_JCR_UUID
-
Constructor Summary
Constructors Constructor Description CreateVersionProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args)Executes a new Java process with the givenandWorkItem.WorkflowSession
-
-
-
Field Detail
-
TYPE_JCR_PATH
public static final java.lang.String TYPE_JCR_PATH
- See Also:
- Constant Field Values
-
TYPE_JCR_UUID
public static final java.lang.String TYPE_JCR_UUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
Description copied from interface:WorkflowProcessExecutes a new Java process with the givenandWorkItem.WorkflowSession- Specified by:
executein interfaceWorkflowProcess- Parameters:
workItem- Thethat defines the newly startedWorkItemJavaProcessNew.workflowSession- Thethat is used for starting theWorkflowSessionJavaProcess.args- Process specific arguments can be passed here- Throws:
WorkflowException- Thrown in case something goes wrong during execution.
-
-