public abstract class WorkflowProcessInstanceImpl extends ProcessInstanceImpl implements WorkflowProcessInstance, NodeInstanceContainer
Constructor and Description |
---|
WorkflowProcessInstanceImpl() |
addContextInstance, getAgenda, getContextContainer, getContextInstance, getContextInstance, getContextInstance, getContextInstances, getDescription, getId, getKnowledgeRuntime, getMetaData, getOutcome, getParentProcessInstanceId, getProcess, getProcessId, getProcessName, getProcessXml, getState, internalSetState, internalStart, removeContextInstance, setContextInstance, setDescription, setId, setKnowledgeRuntime, setMetaData, setOutcome, setParentProcessInstanceId, setProcess, setProcessId, setProcessXml, updateProcess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getKnowledgeRuntime, getMetaData, getOutcome, getProcess, setId, setKnowledgeRuntime, setParentProcessInstanceId, setProcess
addContextInstance, getContextContainer, getContextInstance, getContextInstance, getContextInstances, removeContextInstance
getContextInstance
getId, getParentProcessInstanceId, getProcessId, getProcessName, getState
getState
public org.kie.api.definition.process.NodeContainer getNodeContainer()
public void addNodeInstance(NodeInstance nodeInstance)
public int getLevelForNode(String uniqueID)
public void removeNodeInstance(NodeInstance nodeInstance)
public Collection<org.kie.api.runtime.process.NodeInstance> getNodeInstances()
getNodeInstances
in interface org.kie.api.runtime.process.NodeInstanceContainer
public Collection<NodeInstance> getNodeInstances(boolean recursive)
public NodeInstance getNodeInstance(long nodeInstanceId)
getNodeInstance
in interface org.kie.api.runtime.process.NodeInstanceContainer
public NodeInstance getNodeInstance(long nodeInstanceId, boolean recursive)
public NodeInstance getFirstNodeInstance(long nodeId)
public List<NodeInstance> getNodeInstances(long nodeId)
public List<NodeInstance> getNodeInstances(long nodeId, List<NodeInstance> currentView)
public NodeInstance getNodeInstance(org.kie.api.definition.process.Node node)
public long getNodeInstanceCounter()
public void internalSetNodeInstanceCounter(long nodeInstanceCounter)
public AtomicLong internalGetNodeInstanceCounter()
public org.kie.api.definition.process.WorkflowProcess getWorkflowProcess()
public Object getVariable(String name)
getVariable
in interface org.kie.api.runtime.process.WorkflowProcessInstance
public void setVariable(String name, Object value)
setVariable
in interface org.kie.api.runtime.process.WorkflowProcessInstance
public void setState(int state, String outcome)
setState
in class ProcessInstanceImpl
public void setState(int state)
setState
in class ProcessInstanceImpl
public void disconnect()
disconnect
in class ProcessInstanceImpl
public void reconnect()
reconnect
in class ProcessInstanceImpl
public String toString()
toString
in class ProcessInstanceImpl
public void start()
start
in class ProcessInstanceImpl
public void start(String trigger)
start
in class ProcessInstanceImpl
public void configureSLA()
public TimerInstance configureSLATimer(String slaDueDateExpression)
public void signalEvent(String type, Object event)
signalEvent
in interface org.kie.api.runtime.process.EventListener
signalEvent
in class ProcessInstanceImpl
public void addEventListener(String type, org.kie.api.runtime.process.EventListener listener, boolean external)
public void removeEventListener(String type, org.kie.api.runtime.process.EventListener listener, boolean external)
public String[] getEventTypes()
getEventTypes
in interface org.kie.api.runtime.process.EventListener
getEventTypes
in class ProcessInstanceImpl
public void nodeInstanceCompleted(NodeInstance nodeInstance, String outType)
public void addCompletedNodeId(String uniqueId)
public int getCurrentLevel()
public void setCurrentLevel(int currentLevel)
public boolean isPersisted()
public void setPersisted(boolean persisted)
public void addActivatingNodeId(String uniqueId)
public Object getFaultData()
public boolean isSignalCompletion()
public void setSignalCompletion(boolean signalCompletion)
public String getDeploymentId()
public void setDeploymentId(String deploymentId)
public String getCorrelationKey()
public void setCorrelationKey(String correlationKey)
public Date getStartDate()
public void internalSetStartDate(Date startDate)
protected boolean hasDeploymentId()
protected boolean useAsync(org.kie.api.definition.process.Node node)
protected boolean useTimerSLATracking()
public int getSlaCompliance()
public void internalSetSlaCompliance(int slaCompliance)
public Date getSlaDueDate()
public void internalSetSlaDueDate(Date slaDueDate)
public Long getSlaTimerId()
public void internalSetSlaTimerId(Long slaTimerId)
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.