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 TypeMethodDescriptionvoidexecute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) Executes a new Java process with the givenandWorkItem.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: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.
-