Package org.jbehave.core.embedder
Class PerformableTree.PerformableStory
- java.lang.Object
-
- org.jbehave.core.embedder.PerformableTree.PerformableEntity
-
- org.jbehave.core.embedder.PerformableTree.PerformableStory
-
- All Implemented Interfaces:
PerformableTree.Performable
,PerformableTree.ReportingFailures
- Enclosing class:
- PerformableTree
public static class PerformableTree.PerformableStory extends PerformableTree.PerformableEntity
-
-
Constructor Summary
Constructors Constructor Description PerformableStory(Story story, Keywords keywords, boolean givenStory)
-
Method Summary
Modifier and Type Method Description void
add(PerformableTree.PerformableScenario performableScenario)
void
addAll(List<PerformableTree.PerformableScenario> performableScenarios)
void
excluded(boolean excluded)
Keywords
getKeywords()
List<PerformableTree.PerformableScenario>
getScenarios()
PerformableTree.Status
getStatus()
Story
getStory()
Timing
getTiming()
boolean
givenStory()
boolean
hasIncludedScenarios()
boolean
isExcluded()
void
perform(PerformableTree.RunContext context)
void
reportFailures(PerformableTree.FailureContext context)
-
Methods inherited from class org.jbehave.core.embedder.PerformableTree.PerformableEntity
addAfterSteps, addBeforeSteps, getAfterSteps, getBeforeSteps, getGivenStories, performAfterSteps, performBeforeSteps, performWithStopExecutionExceptionHandling, setGivenStories
-
-
-
-
Method Detail
-
excluded
public void excluded(boolean excluded)
-
isExcluded
public boolean isExcluded()
-
getStory
public Story getStory()
-
getKeywords
public Keywords getKeywords()
-
givenStory
public boolean givenStory()
-
getStatus
public PerformableTree.Status getStatus()
-
getTiming
public Timing getTiming()
-
add
public void add(PerformableTree.PerformableScenario performableScenario)
-
addAll
public void addAll(List<PerformableTree.PerformableScenario> performableScenarios)
-
perform
public void perform(PerformableTree.RunContext context) throws InterruptedException
- Throws:
InterruptedException
-
reportFailures
public void reportFailures(PerformableTree.FailureContext context)
-
getScenarios
public List<PerformableTree.PerformableScenario> getScenarios()
-
hasIncludedScenarios
public boolean hasIncludedScenarios()
-
-