@Service public class SyntheticWorkflowRunnerImpl extends AbstractWorkflowRunner implements BulkWorkflowRunner
AUTH_INFO, SERVICE_NAME| Constructor and Description |
|---|
SyntheticWorkflowRunnerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
complete(Workspace workspace,
Payload payload)
Marks a payload as being completed.
|
void |
forceTerminate(Workspace workspace,
Payload payload)
Marks a payload being force terminated.
|
org.apache.sling.commons.scheduler.ScheduleOptions |
getOptions(Config config)
If a non-null value is returned, the result of run(..) will be scheduled to run w these options.
|
Runnable |
getRunnable(Config config) |
void |
run(Workspace workspace,
Payload payload)
Processes a payload under the Workspace.
|
complete, fail, initialize, initialize, start, stop, stop, stopping, stopWithErrorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcomplete, initialize, initialize, start, stop, stop, stopping, stopWithErrorpublic final Runnable getRunnable(Config config)
getRunnable in interface BulkWorkflowRunnerconfig - the Configpublic org.apache.sling.commons.scheduler.ScheduleOptions getOptions(Config config)
BulkWorkflowRunnergetOptions in interface BulkWorkflowRunnerconfig - the Configpublic void forceTerminate(Workspace workspace, Payload payload) throws org.apache.sling.api.resource.PersistenceException
BulkWorkflowRunnerforceTerminate in interface BulkWorkflowRunnerforceTerminate in class AbstractWorkflowRunnerworkspace - the Workspacepayload - the completed Payloadorg.apache.sling.api.resource.PersistenceExceptionpublic void complete(Workspace workspace, Payload payload) throws Exception
BulkWorkflowRunnercomplete in interface BulkWorkflowRunnercomplete in class AbstractWorkflowRunnerworkspace - the Workspacepayload - the completed PayloadExceptionpublic void run(Workspace workspace, Payload payload)
BulkWorkflowRunnerrun in interface BulkWorkflowRunnerrun in class AbstractWorkflowRunnerworkspace - the Workspacepayload - the Payload to processCopyright © 2013–2020 Adobe. All rights reserved.