Class ScenarioStepComposite
java.lang.Object
pl.put.poznan.qualitychecker.logic.ScenarioStepComposite
- All Implemented Interfaces:
- ScenarioStepComponent
Step within a scenario that has substeps.
- 
Constructor SummaryConstructorsConstructorDescriptionScenarioStepComposite(ScenarioStepCompositeType type, String text) Creates a new instance of classScenarioStepComposite.
- 
Method SummaryModifier and TypeMethodDescriptionAccepts aVisitor.voidaddSubstep(ScenarioStepComponent substep) Adds a step to the list of substepsgetText()getType()
- 
Constructor Details- 
ScenarioStepCompositeCreates a new instance of classScenarioStepComposite.- Parameters:
- type- Type of the composite step represented by- ScenarioStepCompositeType.
- text- Text within a step.
 
 
- 
- 
Method Details- 
addSubstepAdds a step to the list of substeps- Parameters:
- substep- Step to be added as a substep.
 
- 
getType- Returns:
- Type of the composite step (IF, ELSE, FOR EACH).
 
- 
getText- Specified by:
- getTextin interface- ScenarioStepComponent
- Returns:
- Text within a step.
 
- 
acceptDescription copied from interface:ScenarioStepComponentAccepts aVisitor.- Specified by:
- acceptin interface- ScenarioStepComponent
- Parameters:
- visitor- Visitor to be accepted.
- Returns:
- Object returned by the visitor.
 
- 
getSubsteps- Returns:
- List of substeps of the composite step.
 
 
-