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, 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)
setKnowledgeRuntime
void setKnowledgeRuntime(org.drools.core.common.InternalKnowledgeRuntime kruntime)
getKnowledgeRuntime
org.drools.core.common.InternalKnowledgeRuntime getKnowledgeRuntime()
start
void start()
getOutcome
String getOutcome()
getParentProcessInstanceId
long getParentProcessInstanceId()
setParentProcessInstanceId
void setParentProcessInstanceId(long parentId)
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.