public class InitializingMultiInstanceActivityStateImpl extends Object implements org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState
Constructor and Description |
---|
InitializingMultiInstanceActivityStateImpl(ExpressionResolverService expressionResolverService,
org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService,
StateBehaviors stateBehaviors) |
Modifier and Type | Method and Description |
---|---|
org.bonitasoft.engine.core.process.instance.api.states.StateCode |
execute(SProcessDefinition processDefinition,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance) |
int |
getId() |
String |
getName() |
org.bonitasoft.engine.core.process.instance.model.SStateCategory |
getStateCategory() |
String |
getSystemComment(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance) |
boolean |
hit(SProcessDefinition processDefinition,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance parentInstance,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance childInstance) |
boolean |
isInterrupting() |
boolean |
isStable() |
boolean |
isTerminal() |
boolean |
mustAddSystemComment(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance) |
boolean |
shouldExecuteState(SProcessDefinition processDefinition,
org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance) |
public InitializingMultiInstanceActivityStateImpl(ExpressionResolverService expressionResolverService, org.bonitasoft.engine.core.process.instance.api.ActivityInstanceService activityInstanceService, StateBehaviors stateBehaviors)
public org.bonitasoft.engine.core.process.instance.api.states.StateCode execute(SProcessDefinition processDefinition, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance) throws org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException
execute
in interface org.bonitasoft.engine.core.process.instance.api.states.State<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance>
org.bonitasoft.engine.core.process.instance.api.exceptions.SActivityStateExecutionException
public int getId()
getId
in interface org.bonitasoft.engine.core.process.instance.api.states.State<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance>
public boolean isInterrupting()
isInterrupting
in interface org.bonitasoft.engine.core.process.instance.api.states.State<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance>
public boolean isStable()
isStable
in interface org.bonitasoft.engine.core.process.instance.api.states.State<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance>
public boolean isTerminal()
isTerminal
in interface org.bonitasoft.engine.core.process.instance.api.states.State<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance>
public String getName()
getName
in interface org.bonitasoft.engine.core.process.instance.api.states.State<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance>
public boolean hit(SProcessDefinition processDefinition, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance parentInstance, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance childInstance)
hit
in interface org.bonitasoft.engine.core.process.instance.api.states.State<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance>
public boolean shouldExecuteState(SProcessDefinition processDefinition, org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance)
shouldExecuteState
in interface org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState
public org.bonitasoft.engine.core.process.instance.model.SStateCategory getStateCategory()
getStateCategory
in interface org.bonitasoft.engine.core.process.instance.api.states.State<org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance>
public boolean mustAddSystemComment(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance)
mustAddSystemComment
in interface org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState
public String getSystemComment(org.bonitasoft.engine.core.process.instance.model.SFlowNodeInstance flowNodeInstance)
getSystemComment
in interface org.bonitasoft.engine.core.process.instance.api.states.FlowNodeState
Copyright © 2018 Bonitasoft S.A.. All rights reserved.