@Service(value=WorkflowProcess.class) @Properties(value=@Property(name="process.label",value="Delete Page")) public class DeletePageProcess extends java.lang.Object implements WorkflowProcess
Constructor and Description |
---|
DeletePageProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap metaDataMap)
Executes a new Java process with the given
and . |
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap metaDataMap) throws WorkflowException
WorkflowProcess
WorkItem
and WorkflowSession
.execute
in interface WorkflowProcess
workItem
- The WorkItem
that defines the newly
started JavaProcessNew
.workflowSession
- The WorkflowSession
that is used for starting the JavaProcess
.metaDataMap
- Process specific arguments can be passed hereWorkflowException
- Thrown in case something goes wrong during execution.WorkflowProcess.execute(com.day.cq.workflow.exec.WorkItem,
com.day.cq.workflow.WorkflowSession,
com.day.cq.workflow.metadata.MetaDataMap)
Copyright © 2010 - 2020 Adobe. All Rights Reserved