org.drools.impl.adapters
Class WorkItemKieAdapter
java.lang.Object
org.drools.impl.adapters.WorkItemKieAdapter
- All Implemented Interfaces:
- org.kie.api.runtime.process.WorkItem
public class WorkItemKieAdapter
- extends Object
- implements org.kie.api.runtime.process.WorkItem
| Fields inherited from interface org.kie.api.runtime.process.WorkItem |
ABORTED, ACTIVE, COMPLETED, PENDING |
delegate
public WorkItem delegate
WorkItemKieAdapter
public WorkItemKieAdapter(WorkItem delegate)
getId
public long getId()
- Specified by:
getId in interface org.kie.api.runtime.process.WorkItem
getName
public String getName()
- Specified by:
getName in interface org.kie.api.runtime.process.WorkItem
getState
public int getState()
- Specified by:
getState in interface org.kie.api.runtime.process.WorkItem
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
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
getProcessInstanceId
public long getProcessInstanceId()
- Specified by:
getProcessInstanceId in interface org.kie.api.runtime.process.WorkItem
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.