org.drools.core.process.instance.impl
Class WorkItemImpl
java.lang.Object
org.drools.core.process.instance.impl.WorkItemImpl
- All Implemented Interfaces:
- Serializable, org.kie.api.runtime.process.WorkItem
public class WorkItemImpl
- extends Object
- implements WorkItem, Serializable
- See Also:
- Serialized Form
| Fields inherited from interface org.kie.api.runtime.process.WorkItem |
ABORTED, ACTIVE, COMPLETED, PENDING |
WorkItemImpl
public WorkItemImpl()
setId
public void setId(long id)
getId
public long getId()
- Specified by:
getId in interface org.kie.api.runtime.process.WorkItem
setName
public void setName(String name)
getName
public String getName()
- Specified by:
getName in interface org.kie.api.runtime.process.WorkItem
setState
public void setState(int state)
getState
public int getState()
- Specified by:
getState in interface org.kie.api.runtime.process.WorkItem
setParameters
public void setParameters(Map<String,Object> parameters)
setParameter
public void setParameter(String name,
Object value)
getParameter
public Object getParameter(String name)
- Specified by:
getParameter in interface org.kie.api.runtime.process.WorkItem
getParameters
public Map<String,Object> getParameters()
- Specified by:
getParameters in interface org.kie.api.runtime.process.WorkItem
setResults
public void setResults(Map<String,Object> results)
setResult
public void setResult(String name,
Object value)
getResult
public Object getResult(String name)
- Specified by:
getResult in interface org.kie.api.runtime.process.WorkItem
getResults
public Map<String,Object> getResults()
- Specified by:
getResults in interface org.kie.api.runtime.process.WorkItem
setProcessInstanceId
public void setProcessInstanceId(long processInstanceId)
getProcessInstanceId
public long getProcessInstanceId()
- Specified by:
getProcessInstanceId in interface org.kie.api.runtime.process.WorkItem
getDeploymentId
public String getDeploymentId()
setDeploymentId
public void setDeploymentId(String deploymentId)
getNodeInstanceId
public long getNodeInstanceId()
setNodeInstanceId
public void setNodeInstanceId(long nodeInstanceId)
getNodeId
public long getNodeId()
setNodeId
public void setNodeId(long nodeId)
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.