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 TypeMethodDescriptionvoidexecute(WorkItem item, WorkflowSession session, MetaDataMap args) Executes a new Java process with the givenandWorkItem.WorkflowSession
-
Constructor Details
-
AutoAdvancer
public AutoAdvancer()
-
-
Method Details
-
execute
public void execute(WorkItem item, WorkflowSession session, MetaDataMap args) throws WorkflowException Description copied from interface:WorkflowProcessExecutes a new Java process with the givenandWorkItem.WorkflowSession- Specified by:
executein interfaceWorkflowProcess- Parameters:
item- Thethat defines the newly startedWorkItemJavaProcessNew.session- Thethat is used for starting theWorkflowSessionJavaProcess.args- Process specific arguments can be passed here- Throws:
WorkflowException- Thrown in case something goes wrong during execution.
-