public class WorkItemHandlerKieAdapter extends Object implements WorkItemHandler
Constructor and Description |
---|
WorkItemHandlerKieAdapter(org.kie.api.runtime.process.WorkItemHandler delegate) |
Modifier and Type | Method and Description |
---|---|
void |
abortWorkItem(WorkItem workItem,
WorkItemManager manager)
The given work item should be aborted.
|
boolean |
equals(Object obj) |
void |
executeWorkItem(WorkItem workItem,
WorkItemManager manager)
The given work item should be executed.
|
int |
hashCode() |
public WorkItemHandlerKieAdapter(org.kie.api.runtime.process.WorkItemHandler delegate)
public void executeWorkItem(WorkItem workItem, WorkItemManager manager)
WorkItemHandler
executeWorkItem
in interface WorkItemHandler
workItem
- the work item that should be executedmanager
- the manager that requested the work item to be executedpublic void abortWorkItem(WorkItem workItem, WorkItemManager manager)
WorkItemHandler
abortWorkItem
in interface WorkItemHandler
workItem
- the work item that should be abortedmanager
- the manager that requested the work item to be abortedCopyright © 2001–2017 JBoss by Red Hat. All rights reserved.