public class CheckSpamProcess extends Object implements WorkflowProcess
JavaProcess
checks a comment for spam.Constructor and Description |
---|
CheckSpamProcess() |
Modifier and Type | Method and Description |
---|---|
void |
execute(WorkItem workItem,
WorkflowSession workflowSession,
MetaDataMap args)
Executes a new Java process with the given
and . |
public void execute(WorkItem workItem, WorkflowSession workflowSession, MetaDataMap args) throws WorkflowException
WorkflowProcess
WorkItem
and WorkflowSession
.execute
in interface WorkflowProcess
workItem
- The WorkItem
that defines the newly
started JavaProcessNew
.workflowSession
- 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.WorkflowProcess.execute(WorkItem, WorkflowSession, MetaDataMap)
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"