| Modifier and Type | Field and Description |
|---|---|
org.kie.api.runtime.process.WorkItem |
delegate |
| Constructor and Description |
|---|
WorkItemAdapter(org.kie.api.runtime.process.WorkItem delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
long |
getId()
The unique id of this work item
|
String |
getName()
The name of the work item.
|
Object |
getParameter(String name)
Returns the value of the parameter with the given name.
|
Map<String,Object> |
getParameters()
Returns the map of parameters of this work item.
|
long |
getProcessInstanceId()
The id of the process instance that requested the execution of this
work item
|
Object |
getResult(String name)
Returns the value of the result parameter with the given name.
|
Map<String,Object> |
getResults()
Returns the map of result parameters of this work item.
|
int |
getState()
The state of the work item.
|
int |
hashCode() |
public WorkItemAdapter(org.kie.api.runtime.process.WorkItem delegate)
public long getId()
WorkItempublic String getName()
WorkItempublic int getState()
WorkItempublic Object getParameter(String name)
WorkItemnull if the parameter cannot be found.getParameter in interface WorkItemname - the name of the parameterpublic Map<String,Object> getParameters()
WorkItemgetParameters in interface WorkItempublic Object getResult(String name)
WorkItemnull if the result cannot be found.public Map<String,Object> getResults()
WorkItemgetResults in interface WorkItempublic long getProcessInstanceId()
WorkItemgetProcessInstanceId in interface WorkItemCopyright © 2001–2015 JBoss by Red Hat. All rights reserved.