org.jbpm.process.instance
Interface ProcessInstance
- All Superinterfaces:
- ContextableInstance, ContextInstanceContainer, EventListener, ProcessInstance
- All Known Subinterfaces:
- WorkflowProcessInstance
public interface ProcessInstance
- extends 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.
setId
void setId(long id)
setProcess
void setProcess(Process process)
getProcess
Process getProcess()
- Specified by:
getProcess
in interface ProcessInstance
setState
void setState(int state)
setState
void setState(int state,
String outcome)
setKnowledgeRuntime
void setKnowledgeRuntime(org.drools.common.InternalKnowledgeRuntime kruntime)
getKnowledgeRuntime
org.drools.common.InternalKnowledgeRuntime getKnowledgeRuntime()
start
void start()
getOutcome
String getOutcome()
Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.