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.String
TYPE_JCR_PATH
static java.lang.String
TYPE_JCR_UUID
-
Constructor Summary
Constructors Constructor Description CreateVersionProcess()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args)
Executes a new Java process with the given
andWorkItem
.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: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.
-
-