|
Knowledge API Legacy5 Adapter 6.0.0.CR4-Pre1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.drools.impl.adapters.ProcessInstanceAdapter
public class ProcessInstanceAdapter
| Field Summary | |
|---|---|
org.kie.api.runtime.process.ProcessInstance |
delegate
|
| Fields inherited from interface org.drools.runtime.process.ProcessInstance |
|---|
STATE_ABORTED, STATE_ACTIVE, STATE_COMPLETED, STATE_PENDING, STATE_SUSPENDED |
| Constructor Summary | |
|---|---|
ProcessInstanceAdapter(org.kie.api.runtime.process.ProcessInstance delegate)
|
|
| Method Summary | |
|---|---|
static List<ProcessInstance> |
adaptProcessInstances(Collection<org.kie.api.runtime.process.ProcessInstance> processes)
|
String[] |
getEventTypes()
Returns the event types this event listener is interested in. |
long |
getId()
The unique id of this process instance. |
Process |
getProcess()
|
String |
getProcessId()
The id of the process definition that is related to this process instance. |
String |
getProcessName()
The name of the process definition that is related to this process instance. |
int |
getState()
The state of the process instance. |
void |
signalEvent(String type,
Object event)
Signals that an event has occurred. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final org.kie.api.runtime.process.ProcessInstance delegate
| Constructor Detail |
|---|
public ProcessInstanceAdapter(org.kie.api.runtime.process.ProcessInstance delegate)
| Method Detail |
|---|
public String getProcessId()
ProcessInstance
getProcessId in interface ProcessInstancepublic Process getProcess()
getProcess in interface ProcessInstancepublic long getId()
ProcessInstance
getId in interface ProcessInstancepublic String getProcessName()
ProcessInstance
getProcessName in interface ProcessInstancepublic int getState()
ProcessInstance
getState in interface ProcessInstance
public void signalEvent(String type,
Object event)
EventListener
signalEvent in interface EventListenertype - the type of eventevent - the data associated with this eventpublic String[] getEventTypes()
EventListenernull if the event types are unknown.
getEventTypes in interface EventListenerpublic static List<ProcessInstance> adaptProcessInstances(Collection<org.kie.api.runtime.process.ProcessInstance> processes)
|
Knowledge API Legacy5 Adapter 6.0.0.CR4-Pre1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||