Package 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
- All Known Implementing Classes:
ProcessInstanceImpl,RuleFlowProcessInstance,WorkflowProcessInstanceImpl
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.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigureSLA()org.kie.api.runtime.rule.AgendaFiltergetAgendaFilter()StringgetDeploymentId()ObjectgetFaultData()org.drools.core.common.InternalKnowledgeRuntimegetKnowledgeRuntime()Map<String,Object>getMetaData()StringgetOutcome()org.kie.api.definition.process.ProcessgetProcess()intgetSlaCompliance()DategetSlaDueDate()DategetStartDate()booleanisSignalCompletion()voidsetAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter)voidsetDeploymentId(String deploymentId)voidsetId(long id)voidsetKnowledgeRuntime(org.drools.core.common.InternalKnowledgeRuntime kruntime)voidsetParentProcessInstanceId(long parentId)voidsetProcess(org.kie.api.definition.process.Process process)voidsetSignalCompletion(boolean signalCompletion)voidsetState(int state)voidsetState(int state, String outcome)voidsetState(int state, String outcome, Object faultData)voidstart()voidstart(String tigger)-
Methods inherited from interface org.jbpm.process.instance.ContextableInstance
getContextInstance
-
Methods inherited from interface org.jbpm.process.instance.ContextInstanceContainer
addContextInstance, getContextContainer, getContextInstance, getContextInstance, getContextInstances, removeContextInstance
-
-
-
-
Method Detail
-
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:
getProcessin interfaceorg.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()
-
start
void start(String tigger)
-
getOutcome
String getOutcome()
-
setParentProcessInstanceId
void setParentProcessInstanceId(long parentId)
-
getFaultData
Object getFaultData()
-
setSignalCompletion
void setSignalCompletion(boolean signalCompletion)
-
isSignalCompletion
boolean isSignalCompletion()
-
getDeploymentId
String getDeploymentId()
-
setDeploymentId
void setDeploymentId(String deploymentId)
-
getStartDate
Date getStartDate()
-
getSlaCompliance
int getSlaCompliance()
-
getSlaDueDate
Date getSlaDueDate()
-
configureSLA
void configureSLA()
-
getAgendaFilter
org.kie.api.runtime.rule.AgendaFilter getAgendaFilter()
-
setAgendaFilter
void setAgendaFilter(org.kie.api.runtime.rule.AgendaFilter agendaFilter)
-
-