Package org.jbehave.core.embedder
Class StoryManager
java.lang.Object
org.jbehave.core.embedder.StoryManager
Manages the execution and outcomes of running stories. While each story is
run by the
PerformableTree, the manager is responsible for the concurrent
submission and monitoring of their execution via the ExecutorService.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionStoryManager(Configuration configuration, InjectableStepsFactory stepsFactory, EmbedderControls embedderControls, EmbedderMonitor embedderMonitor, ExecutorService executorService, PerformableTree performableTree, StoryTimeouts.TimeoutParser... parsers) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()excludedBy(MetaFilter filter) outcomes()runningStory(Story story) voidrunStories(List<Story> stories, MetaFilter filter, BatchFailures failures) voidrunStoriesAsPaths(List<String> storyPaths, MetaFilter filter, BatchFailures failures) storiesOfPaths(List<String> storyPaths) storyOfPath(String storyPath) storyOfText(String storyAsText, String storyId) voidprotected voidwriteStoryDurations(Collection<StoryManager.RunningStory> runningStories)
-
Constructor Details
-
StoryManager
public StoryManager(Configuration configuration, InjectableStepsFactory stepsFactory, EmbedderControls embedderControls, EmbedderMonitor embedderMonitor, ExecutorService executorService, PerformableTree performableTree, StoryTimeouts.TimeoutParser... parsers)
-
-
Method Details
-
storyOfPath
-
storiesOfPaths
-
storyOfText
-
clear
public void clear() -
performableRoot
-
outcomes
-
runStoriesAsPaths
-
runStories
-
excludedBy
-
runningStory
-
waitUntilAllDoneOrFailed
-
writeStoryDurations
-