Class AutoAdvancer
java.lang.Object
com.day.cq.workflow.timeout.autoadvance.AutoAdvancer
- All Implemented Interfaces:
WorkflowProcess
- Direct Known Subclasses:
AbsoluteTimeAutoAdvancer
@Service(WorkflowProcess.class)
@Property(name="service.description",value="Workflow Auto Advance Process") @Property(name="process.label ",value="Auto Advancer")
public class AutoAdvancer
extends Object
implements WorkflowProcess
AutoAdvancer
...-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(WorkItem item, WorkflowSession session, MetaDataMap args) Executes a new Java process with the given
andWorkItem
.WorkflowSession
-
Constructor Details
-
AutoAdvancer
public AutoAdvancer()
-
-
Method Details
-
execute
public void execute(WorkItem item, WorkflowSession session, 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:
item
- The
that defines the newly startedWorkItem
JavaProcessNew
.session
- 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.
-