1 | |
package org.jbehave.core.steps; |
2 | |
|
3 | |
import java.util.List; |
4 | |
import java.util.Map; |
5 | |
|
6 | |
import org.jbehave.core.model.Scenario; |
7 | |
import org.jbehave.core.model.Story; |
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
public interface StepCollector { |
14 | |
|
15 | 3 | enum Stage { |
16 | 1 | BEFORE, AFTER |
17 | |
} |
18 | |
|
19 | |
List<Step> collectBeforeOrAfterStoriesSteps(List<CandidateSteps> candidateSteps, Stage stage); |
20 | |
|
21 | |
List<Step> collectBeforeOrAfterStorySteps(List<CandidateSteps> candidateSteps, Story story, Stage stage, boolean givenStory); |
22 | |
|
23 | |
List<Step> collectScenarioSteps(List<CandidateSteps> candidateSteps, Scenario scenario, Map<String, String> tableRow); |
24 | |
|
25 | |
} |