public class BeforeOrAfterStep extends Object
BeforeStory
, AfterStory
, BeforeScenario
or
AfterScenario
in a CandidateSteps
instance class. The
BeforeOrAfterStep is responsible for the creation of the executable step via
the StepCreator
.Constructor and Description |
---|
BeforeOrAfterStep(StepCollector.Stage stage,
Method method,
AfterScenario.Outcome outcome,
StepCreator stepCreator) |
BeforeOrAfterStep(StepCollector.Stage stage,
Method method,
StepCreator stepCreator) |
Modifier and Type | Method and Description |
---|---|
Step |
createStep() |
Step |
createStepUponOutcome(Meta storyAndScenarioMeta) |
Step |
createStepWith(Meta meta) |
Method |
getMethod() |
StepCollector.Stage |
getStage() |
String |
toString() |
void |
useStepMonitor(StepMonitor stepMonitor) |
public BeforeOrAfterStep(StepCollector.Stage stage, Method method, StepCreator stepCreator)
public BeforeOrAfterStep(StepCollector.Stage stage, Method method, AfterScenario.Outcome outcome, StepCreator stepCreator)
public StepCollector.Stage getStage()
public Method getMethod()
public Step createStep()
public void useStepMonitor(StepMonitor stepMonitor)
Copyright © 2003–2016. All rights reserved.