public class CompositeCandidateSteps extends AbstractCandidateSteps
AbstractCandidateSteps.DuplicateCandidateFound
Constructor and Description |
---|
CompositeCandidateSteps(Configuration configuration,
Set<String> compositePaths) |
Modifier and Type | Method and Description |
---|---|
List<BeforeOrAfterStep> |
listBeforeOrAfterScenario(ScenarioType type)
Returns the before or after scenario steps
|
List<BeforeOrAfterStep> |
listBeforeOrAfterStories()
Returns the before or after stories steps
|
List<BeforeOrAfterStep> |
listBeforeOrAfterStory(boolean givenStory)
Returns the before or after story steps, based on the given story status
|
List<StepCandidate> |
listCandidates()
Returns the step candidates that can be matched
|
checkForDuplicateCandidates, configuration, createCandidate
public CompositeCandidateSteps(Configuration configuration, Set<String> compositePaths)
public List<StepCandidate> listCandidates()
CandidateSteps
public List<BeforeOrAfterStep> listBeforeOrAfterStories()
CandidateSteps
public List<BeforeOrAfterStep> listBeforeOrAfterStory(boolean givenStory)
CandidateSteps
givenStory
- the boolean flag denoting if it's a given storypublic List<BeforeOrAfterStep> listBeforeOrAfterScenario(ScenarioType type)
CandidateSteps
type
- the ScenarioTypeCopyright © 2003–2021. All rights reserved.