org.jbpm.process.instance
Interface ProcessInstance
- All Superinterfaces:
- ContextableInstance, ContextInstanceContainer, org.kie.api.runtime.process.EventListener, org.kie.api.runtime.process.ProcessInstance
- All Known Subinterfaces:
- WorkflowProcessInstance
public interface ProcessInstance
- extends org.kie.api.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.kie.api.runtime.process.ProcessInstance |
STATE_ABORTED, STATE_ACTIVE, STATE_COMPLETED, STATE_PENDING, STATE_SUSPENDED |
| Methods inherited from interface org.kie.api.runtime.process.ProcessInstance |
getId, getParentProcessInstanceId, getProcessId, getProcessName, getState |
| Methods inherited from interface org.kie.api.runtime.process.EventListener |
getEventTypes, signalEvent |
setId
void setId(long id)
setProcess
void setProcess(org.kie.api.definition.process.Process process)
getProcess
org.kie.api.definition.process.Process getProcess()
- Specified by:
getProcess in interface org.kie.api.runtime.process.ProcessInstance
setState
void setState(int state)
setState
void setState(int state,
String outcome)
setState
void setState(int state,
String outcome,
Object faultData)
setKnowledgeRuntime
void setKnowledgeRuntime(org.drools.core.common.InternalKnowledgeRuntime kruntime)
getKnowledgeRuntime
org.drools.core.common.InternalKnowledgeRuntime getKnowledgeRuntime()
start
void start()
start
void start(String tigger)
getOutcome
String getOutcome()
setParentProcessInstanceId
void setParentProcessInstanceId(long parentId)
getMetaData
Map<String,Object> getMetaData()
getFaultData
Object getFaultData()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.