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 class
static class
static class
static class
static class
-
Constructor Summary
ConstructorsConstructorDescriptionStoryManager
(Configuration configuration, InjectableStepsFactory stepsFactory, EmbedderControls embedderControls, EmbedderMonitor embedderMonitor, ExecutorService executorService, PerformableTree performableTree, StoryTimeouts.TimeoutParser... parsers) -
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
excludedBy
(MetaFilter filter) outcomes()
runningStory
(Story story) void
runStories
(List<Story> stories, MetaFilter filter, BatchFailures failures) void
runStoriesAsPaths
(List<String> storyPaths, MetaFilter filter, BatchFailures failures) storiesOfPaths
(List<String> storyPaths) storyOfPath
(String storyPath) storyOfText
(String storyAsText, String storyId) void
protected void
writeStoryDurations
(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
-