Interface AlternativeCondition
-
- All Superinterfaces:
ScenarioNode
@OpenApiAll public interface AlternativeCondition extends ScenarioNode
Represents alternative condition in the scenario flow.- See Also:
ScenarioManager
,ScenarioFactory
,Scenario
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<FlowStep>
getAlternativeFlowSteps()
Gets condition alternative flow steps.DecisionNode
getDecisionNode()
Gets condition decision node.ControlFlow
getElseFlow()
Gets condition "else" flow.java.lang.String
getIfCondition()
Gets "if" text of condition.ControlFlow
getIfFlow()
Gets condition "if" flow.MergeNode
getMergeNode()
Gets condition merge node.FlowStep
getParentFlowStep()
Gets flow step to which alternative condition belongs.void
setIfCondition(java.lang.String value)
Sets "if" text of condition.-
Methods inherited from interface com.nomagic.magicdraw.usecasescenarios.scenarios.ScenarioNode
belongsToIncludedExtending, getElement, getEnd, getHumanType, getName, getParent, getParentContainer, getStart, isEditable, setName
-
-
-
-
Method Detail
-
getDecisionNode
DecisionNode getDecisionNode()
Gets condition decision node.- Returns:
- condition decision node.
-
getMergeNode
MergeNode getMergeNode()
Gets condition merge node.- Returns:
- condition merge node.
-
getAlternativeFlowSteps
java.util.List<FlowStep> getAlternativeFlowSteps()
Gets condition alternative flow steps.- Returns:
- alternative flow steps of condition.
-
getIfFlow
ControlFlow getIfFlow()
Gets condition "if" flow.- Returns:
- "if" flow of condition.
-
getElseFlow
ControlFlow getElseFlow()
Gets condition "else" flow.- Returns:
- condition "else" flow.
-
getIfCondition
java.lang.String getIfCondition()
Gets "if" text of condition.- Returns:
- "if" text of condition.
-
setIfCondition
void setIfCondition(java.lang.String value)
Sets "if" text of condition.- Parameters:
value
- "if" text of condition.
-
getParentFlowStep
FlowStep getParentFlowStep()
Gets flow step to which alternative condition belongs.- Returns:
- flow step to which alternative condition belongs.
-
-