@Service(value={WorkflowProcess.class,AbsoluteTimeoutHandler.class})
@Property(name="service.description",value="Workflow Auto Advance Process") @Property(name="process.label",value="Absolute Time Auto Advancer")
public class AbsoluteTimeAutoAdvancer
extends AutoAdvancer
implements AbsoluteTimeoutHandler
AutoAdvancer...ABS_TIME| Constructor and Description |
|---|
AbsoluteTimeAutoAdvancer() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(WorkItem item,
WorkflowSession session,
MetaDataMap args)
Executes a new Java process with the given
and . |
long |
getTimeoutDate(WorkItem workItem)
Returns the timeout time in ms.
|
public void execute(WorkItem item, WorkflowSession session, MetaDataMap args) throws WorkflowException
WorkflowProcessWorkItem
and WorkflowSession.execute in interface WorkflowProcessexecute in class AutoAdvanceritem - The WorkItem that defines the newly
started JavaProcessNew.session - 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.public long getTimeoutDate(WorkItem workItem)
AbsoluteTimeoutHandlergetTimeoutDate in interface AbsoluteTimeoutHandlerworkItem - workitem-1Copyright © 2010 - 2023 Adobe. All Rights Reserved