org.jbpm.process.instance
Interface ProcessInstance
- All Superinterfaces:
- ContextableInstance, ContextInstanceContainer, org.drools.runtime.process.EventListener, org.drools.runtime.process.ProcessInstance
- All Known Subinterfaces:
- WorkflowProcessInstance
public interface ProcessInstance
- extends org.drools.runtime.process.ProcessInstance, ContextInstanceContainer, ContextableInstance
A process instance is the representation of a process during its execution.
It contains all the runtime status information about the running process.
A process can have multiple instances.
Fields inherited from interface org.drools.runtime.process.ProcessInstance |
STATE_ABORTED, STATE_ACTIVE, STATE_COMPLETED, STATE_PENDING, STATE_SUSPENDED |
Methods inherited from interface org.drools.runtime.process.ProcessInstance |
getId, getProcessId, getProcessName, getState |
Methods inherited from interface org.drools.runtime.process.EventListener |
getEventTypes, signalEvent |
setId
void setId(long id)
setProcess
void setProcess(org.drools.definition.process.Process process)
getProcess
org.drools.definition.process.Process getProcess()
- Specified by:
getProcess
in interface org.drools.runtime.process.ProcessInstance
setState
void setState(int state)
setKnowledgeRuntime
void setKnowledgeRuntime(org.drools.common.InternalKnowledgeRuntime kruntime)
getKnowledgeRuntime
org.drools.common.InternalKnowledgeRuntime getKnowledgeRuntime()
start
void start()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.