public interface WorkflowContextService
execute method
on the service by passing a suitable WorkflowContextProcessor implementation.| Modifier and Type | Method and Description |
|---|---|
void |
execute(WorkflowContextProcessor processor,
com.adobe.granite.workflow.exec.WorkItem workItem,
com.adobe.granite.workflow.WorkflowSession workflowSession,
Map args)
Executes the current workflow step's logic for processing watch-folder inputs.
|
void execute(WorkflowContextProcessor processor, com.adobe.granite.workflow.exec.WorkItem workItem, com.adobe.granite.workflow.WorkflowSession workflowSession, Map args) throws Exception
processor - A WorkflowContextProcessor implementation supplied by the current workflow
step (and possibly implemented by it) which encapsulates the current step's logic for
processing the watch-folder input and contributing its own outputs to the overall output
of the current workflow instance.workItem - The work-item supplied to the workflow step by the workflow engine.workflowSession - The workflow-session supplied to the workflow step by the workflow engine.args - The arguments supplied to the workflow step by the workflow engine.Exception - If an error is thrown by the supplied WorkflowContextProcessor
implementation, or if any other system error occurs. If the error is allowed to bubble up by the workflow
step, the associated watch-folder input will be marked as having failed to process, and will be written out
to the failures folder of the watch-folder along with this error in the failure log.Copyright © 1982–2023 Adobe Systems Incorporated. All rights reserved.