Class AllSteps
java.lang.Object
pl.put.poznan.scenario.logic.visitor.CountingVisitor
pl.put.poznan.scenario.logic.visitor.AllSteps
Zlicza wszystkie kroki w scenariuszu.
Dziedziczy po abstrakcyjnej klasie implementując wzorzec projektowy 'wizytator'.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Inkrementuje liczbę kroków w scenariuszu.long
void
setStepsCount
(long stepsCount)
-
Field Details
-
stepsCount
private long stepsCount
-
-
Constructor Details
-
AllSteps
public AllSteps()
-
-
Method Details
-
getStepsCount
public long getStepsCount() -
setStepsCount
public void setStepsCount(long stepsCount) -
count
Inkrementuje liczbę kroków w scenariuszu.- Specified by:
count
in classCountingVisitor
- Parameters:
step
- Obecnie rozpatrywany krok
-