org.drools.process.instance.impl
Class WorkItemImpl
java.lang.Object
org.drools.process.instance.impl.WorkItemImpl
- All Implemented Interfaces:
- Serializable, org.drools.runtime.process.WorkItem
public class WorkItemImpl
- extends Object
- implements WorkItem, Serializable
- See Also:
- Serialized Form
Fields inherited from interface org.drools.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.drools.runtime.process.WorkItem
setName
public void setName(String name)
getName
public String getName()
- Specified by:
getName
in interface org.drools.runtime.process.WorkItem
setState
public void setState(int state)
getState
public int getState()
- Specified by:
getState
in interface org.drools.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.drools.runtime.process.WorkItem
getParameters
public Map<String,Object> getParameters()
- Specified by:
getParameters
in interface org.drools.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.drools.runtime.process.WorkItem
getResults
public Map<String,Object> getResults()
- Specified by:
getResults
in interface org.drools.runtime.process.WorkItem
setProcessInstanceId
public void setProcessInstanceId(long processInstanceId)
getProcessInstanceId
public long getProcessInstanceId()
- Specified by:
getProcessInstanceId
in interface org.drools.runtime.process.WorkItem
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.