public class WorkItemImpl extends Object implements WorkItem, Serializable
Constructor and Description |
---|
WorkItemImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getDeploymentId() |
long |
getId() |
String |
getName() |
Object |
getParameter(String name) |
Map<String,Object> |
getParameters() |
long |
getProcessInstanceId() |
Object |
getResult(String name) |
Map<String,Object> |
getResults() |
int |
getState() |
void |
setDeploymentId(String deploymentId) |
void |
setId(long id) |
void |
setName(String name) |
void |
setParameter(String name,
Object value) |
void |
setParameters(Map<String,Object> parameters) |
void |
setProcessInstanceId(long processInstanceId) |
void |
setResult(String name,
Object value) |
void |
setResults(Map<String,Object> results) |
void |
setState(int state) |
String |
toString() |
public void setId(long id)
public long getId()
getId
in interface org.kie.api.runtime.process.WorkItem
public void setName(String name)
public String getName()
getName
in interface org.kie.api.runtime.process.WorkItem
public void setState(int state)
public int getState()
getState
in interface org.kie.api.runtime.process.WorkItem
public Object getParameter(String name)
getParameter
in interface org.kie.api.runtime.process.WorkItem
public Map<String,Object> getParameters()
getParameters
in interface org.kie.api.runtime.process.WorkItem
public Object getResult(String name)
getResult
in interface org.kie.api.runtime.process.WorkItem
public Map<String,Object> getResults()
getResults
in interface org.kie.api.runtime.process.WorkItem
public void setProcessInstanceId(long processInstanceId)
public long getProcessInstanceId()
getProcessInstanceId
in interface org.kie.api.runtime.process.WorkItem
public String getDeploymentId()
public void setDeploymentId(String deploymentId)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.