public class AssetOffloadingProcess extends Object implements WorkflowExternalProcess
workflowModel
argument.
Modifier and Type | Class and Description |
---|---|
static class |
AssetOffloadingProcess.Arguments
The available arguments to this process implementation.
|
Constructor and Description |
---|
AssetOffloadingProcess() |
Modifier and Type | Method and Description |
---|---|
Serializable |
execute(WorkItem item,
WorkflowSession wfSession,
MetaDataMap arguments)
Executes the external process step.
|
void |
handleResult(Serializable externalProcessId,
WorkItem workItem,
WorkflowSession session,
MetaDataMap arguments)
Get and handle the result of the external process, given by the external process id.
|
boolean |
hasFinished(Serializable externalProcessId,
WorkItem item,
WorkflowSession session,
MetaDataMap arguments)
Tests the external process, given by the external process id, for completeness.
|
public Serializable execute(WorkItem item, WorkflowSession wfSession, MetaDataMap arguments) throws WorkflowException
WorkflowExternalProcess
null
to indicate that nothing was executed. In this case, the step directly advances to the next step.execute
in interface WorkflowExternalProcess
item
- The current work itemwfSession
- The current workflow sessionarguments
- The current steps node arguments (aka as node meta data)null
WorkflowException
public boolean hasFinished(Serializable externalProcessId, WorkItem item, WorkflowSession session, MetaDataMap arguments)
WorkflowExternalProcess
hasFinished
in interface WorkflowExternalProcess
externalProcessId
- The external process to test for completenessitem
- The current work itemsession
- The current workflow sessionarguments
- The current steps node arguments (aka as node meta data)public void handleResult(Serializable externalProcessId, WorkItem workItem, WorkflowSession session, MetaDataMap arguments) throws WorkflowException
WorkflowExternalProcess
handleResult
in interface WorkflowExternalProcess
externalProcessId
- The external process to handle the results forworkItem
- The current work itemsession
- The current workflow sessionarguments
- The current steps node arguments (aka as node meta data)WorkflowException
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"