public class MarkUnmatchedStepsAsPending extends java.lang.Object implements StepCollector
AbstractStepResult.Pending
. It uses a
StepFinder
to collect and prioritise StepCandidate
s.StepCollector.Stage
Constructor and Description |
---|
MarkUnmatchedStepsAsPending() |
MarkUnmatchedStepsAsPending(Keywords keywords) |
MarkUnmatchedStepsAsPending(StepFinder stepFinder) |
MarkUnmatchedStepsAsPending(StepFinder stepFinder,
Keywords keywords) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Step> |
collectBeforeOrAfterScenarioSteps(java.util.List<CandidateSteps> candidateSteps,
Meta storyAndScenarioMeta,
StepCollector.Stage stage,
ScenarioType type)
Collects all of the
BeforeScenario or AfterScenario steps to execute. |
java.util.List<Step> |
collectBeforeOrAfterStoriesSteps(java.util.List<CandidateSteps> candidateSteps,
StepCollector.Stage stage)
Collects all of the
BeforeStories or AfterStories steps to execute. |
java.util.List<Step> |
collectBeforeOrAfterStorySteps(java.util.List<CandidateSteps> candidateSteps,
Story story,
StepCollector.Stage stage,
boolean givenStory)
Collects all of the
BeforeStory or AfterStory steps to execute. |
java.util.List<Step> |
collectLifecycleSteps(java.util.List<CandidateSteps> candidateSteps,
Lifecycle lifecycle,
Meta storyAndScenarioMeta,
StepCollector.Stage stage)
Collects all lifecycle steps to execute
|
java.util.List<Step> |
collectScenarioSteps(java.util.List<CandidateSteps> candidateSteps,
Scenario scenario,
java.util.Map<java.lang.String,java.lang.String> parameters)
Collects all of the
Step s to execute for a scenario. |
public MarkUnmatchedStepsAsPending()
public MarkUnmatchedStepsAsPending(StepFinder stepFinder)
public MarkUnmatchedStepsAsPending(Keywords keywords)
public MarkUnmatchedStepsAsPending(StepFinder stepFinder, Keywords keywords)
public java.util.List<Step> collectBeforeOrAfterStoriesSteps(java.util.List<CandidateSteps> candidateSteps, StepCollector.Stage stage)
StepCollector
BeforeStories
or AfterStories
steps to execute.collectBeforeOrAfterStoriesSteps
in interface StepCollector
stage
- the StepCollector.Stage
of executionStep
spublic java.util.List<Step> collectBeforeOrAfterStorySteps(java.util.List<CandidateSteps> candidateSteps, Story story, StepCollector.Stage stage, boolean givenStory)
StepCollector
BeforeStory
or AfterStory
steps to execute.collectBeforeOrAfterStorySteps
in interface StepCollector
candidateSteps
- the CandidateSteps
.story
- the Story
.stage
- the StepCollector.Stage
of executiongivenStory
- whether Story
is a given storyStep
spublic java.util.List<Step> collectBeforeOrAfterScenarioSteps(java.util.List<CandidateSteps> candidateSteps, Meta storyAndScenarioMeta, StepCollector.Stage stage, ScenarioType type)
StepCollector
BeforeScenario
or AfterScenario
steps to execute.collectBeforeOrAfterScenarioSteps
in interface StepCollector
candidateSteps
- the CandidateSteps
.storyAndScenarioMeta
- the story and scenario Meta
parameterstype
- the ScenarioTypeStep
spublic java.util.List<Step> collectLifecycleSteps(java.util.List<CandidateSteps> candidateSteps, Lifecycle lifecycle, Meta storyAndScenarioMeta, StepCollector.Stage stage)
StepCollector
collectLifecycleSteps
in interface StepCollector
candidateSteps
- the CandidateSteps
.lifecycle
- the Lifecycle
storyAndScenarioMeta
- the story and scenario Meta
parametersstage
- the StepCollector.Stage
of executionStep
spublic java.util.List<Step> collectScenarioSteps(java.util.List<CandidateSteps> candidateSteps, Scenario scenario, java.util.Map<java.lang.String,java.lang.String> parameters)
StepCollector
Step
s to execute for a scenario.collectScenarioSteps
in interface StepCollector
candidateSteps
- the CandidateSteps
.scenario
- the Scenario
.parameters
- the parameters.Step
sCopyright © 2003-2014. All Rights Reserved.