@Service
@Property(name="process.label",
value="Create Version")
public class CreateVersionProcess
extends java.lang.Object
implements WorkflowProcess
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
TYPE_JCR_PATH |
static java.lang.String |
TYPE_JCR_UUID |
| Constructor and Description |
|---|
CreateVersionProcess() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
public static final java.lang.String TYPE_JCR_PATH
public static final java.lang.String TYPE_JCR_UUID
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
WorkflowProcessWorkItem
and WorkflowSession.execute in interface WorkflowProcessworkItem - The WorkItem that defines the newly
started JavaProcessNew.workflowSession - The WorkflowSession
that is used for starting the JavaProcess.args - Process specific arguments can be passed hereWorkflowException - Thrown in case something goes wrong during execution.Copyright © 2010 - 2023 Adobe. All Rights Reserved