Knowledge API Legacy5 Adapter 6.1.0.Final

org.drools.impl.adapters
Class WorkItemKieAdapter

java.lang.Object
  extended by 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


Field Summary
 WorkItem delegate
           
 
Fields inherited from interface org.kie.api.runtime.process.WorkItem
ABORTED, ACTIVE, COMPLETED, PENDING
 
Constructor Summary
WorkItemKieAdapter(WorkItem delegate)
           
 
Method Summary
 boolean equals(Object obj)
           
 long getId()
           
 String getName()
           
 Object getParameter(String name)
           
 Map<String,Object> getParameters()
           
 long getProcessInstanceId()
           
 Object getResult(String name)
           
 Map<String,Object> getResults()
           
 int getState()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegate

public WorkItem delegate
Constructor Detail

WorkItemKieAdapter

public WorkItemKieAdapter(WorkItem delegate)
Method Detail

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

Knowledge API Legacy5 Adapter 6.1.0.Final

Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.