public class DelegatingStoryReporter extends Object implements StoryReporter
StoryReporters and delegates all
invocations to the collected reporters.| Constructor and Description |
|---|
DelegatingStoryReporter(Collection<StoryReporter> delegates)
Creates DelegatingStoryReporter with a given collections of delegates
|
DelegatingStoryReporter(StoryReporter... delegates)
Creates DelegatingStoryReporter with a given varargs of delegates
|
public DelegatingStoryReporter(Collection<StoryReporter> delegates)
delegates - the ScenarioReporters to delegate topublic DelegatingStoryReporter(StoryReporter... delegates)
delegates - the StoryReporters to delegate topublic void afterScenario()
afterScenario in interface StoryReporterpublic void afterStory(boolean givenStory)
afterStory in interface StoryReporterpublic void beforeScenario(String scenarioTitle)
beforeScenario in interface StoryReporterpublic void scenarioMeta(Meta meta)
scenarioMeta in interface StoryReporterpublic void beforeStory(Story story, boolean givenStory)
beforeStory in interface StoryReporterpublic void narrative(Narrative narrative)
narrative in interface StoryReporterpublic void lifecyle(Lifecycle lifecycle)
lifecyle in interface StoryReporterpublic void beforeExamples(List<String> steps, ExamplesTable table)
beforeExamples in interface StoryReporterpublic void example(Map<String,String> tableRow)
example in interface StoryReporterpublic void afterExamples()
afterExamples in interface StoryReporterpublic void failed(String step, Throwable cause)
failed in interface StoryReporterpublic void failedOutcomes(String step, OutcomesTable table)
failedOutcomes in interface StoryReporterpublic void givenStories(GivenStories givenStories)
givenStories in interface StoryReporterpublic void givenStories(List<String> storyPaths)
givenStories in interface StoryReporterpublic void beforeStep(String step)
beforeStep in interface StoryReporterpublic void ignorable(String step)
ignorable in interface StoryReporterpublic void comment(String step)
comment in interface StoryReporterpublic void notPerformed(String step)
notPerformed in interface StoryReporterpublic void pending(String step)
pending in interface StoryReporterpublic void successful(String step)
successful in interface StoryReporterpublic void scenarioNotAllowed(Scenario scenario, String filter)
scenarioNotAllowed in interface StoryReporterpublic void storyNotAllowed(Story story, String filter)
storyNotAllowed in interface StoryReporterpublic void dryRun()
dryRun in interface StoryReporterpublic void pendingMethods(List<String> methods)
pendingMethods in interface StoryReporterpublic void restarted(String step, Throwable cause)
restarted in interface StoryReporterpublic void restartedStory(Story story, Throwable cause)
restartedStory in interface StoryReporterpublic void storyCancelled(Story story, StoryDuration storyDuration)
storyCancelled in interface StoryReporterpublic Collection<StoryReporter> getDelegates()
Copyright © 2003–2016. All rights reserved.