public interface WorkflowProcess
JavaProcessNew
is the interface to be used for automatic
workflow steps implemented in Java. Classes implementing this interface
define Java based processes that can be attached to a WorkflowNode
and executed by the workflow engine.
This interface replaces the deprecated JavaProcess
and
JavaProcessExt
interfaces.
JavaProcess
,
JavaProcessExt
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem item,
WorkflowSession session,
MetaDataMap args)
Executes a new Java process with the given
and . |
void execute(WorkItem item, WorkflowSession session, MetaDataMap args) throws WorkflowException
WorkItem
and WorkflowSession
.item
- 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.Copyright © 2010 - 2020 Adobe. All Rights Reserved