Package org.jbehave.core.embedder
Class PerformableTree.AbstractPerformableScenario
- java.lang.Object
-
- org.jbehave.core.embedder.PerformableTree.PerformableEntity
-
- org.jbehave.core.embedder.PerformableTree.AbstractPerformableScenario
-
- All Implemented Interfaces:
PerformableTree.Performable
,PerformableTree.ReportingFailures
- Direct Known Subclasses:
PerformableTree.ExamplePerformableScenario
,PerformableTree.NormalPerformableScenario
- Enclosing class:
- PerformableTree
public abstract static class PerformableTree.AbstractPerformableScenario extends PerformableTree.PerformableEntity
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,String>
parameters
protected PerformableTree.PerformableSteps
steps
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractPerformableScenario(Story story)
protected
AbstractPerformableScenario(Story story, Map<String,String> parameters)
-
Method Summary
Modifier and Type Method Description void
addSteps(PerformableTree.PerformableSteps steps)
Map<String,String>
getParameters()
Meta
getStoryAndScenarioMeta()
protected void
performScenario(PerformableTree.RunContext context)
void
reportFailures(PerformableTree.FailureContext context)
protected void
resetStateIfConfigured(PerformableTree.RunContext context)
void
setStoryAndScenarioMeta(Meta storyAndScenarioMeta)
-
Methods inherited from class org.jbehave.core.embedder.PerformableTree.PerformableEntity
addAfterSteps, addBeforeSteps, getAfterSteps, getBeforeSteps, getGivenStories, performAfterSteps, performBeforeSteps, performWithStopExecutionExceptionHandling, setGivenStories
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jbehave.core.embedder.PerformableTree.Performable
perform
-
-
-
-
Field Detail
-
steps
protected final PerformableTree.PerformableSteps steps
-
-
Method Detail
-
addSteps
public void addSteps(PerformableTree.PerformableSteps steps)
-
performScenario
protected void performScenario(PerformableTree.RunContext context) throws InterruptedException
- Throws:
InterruptedException
-
reportFailures
public void reportFailures(PerformableTree.FailureContext context)
-
resetStateIfConfigured
protected void resetStateIfConfigured(PerformableTree.RunContext context)
-
getStoryAndScenarioMeta
public Meta getStoryAndScenarioMeta()
-
setStoryAndScenarioMeta
public void setStoryAndScenarioMeta(Meta storyAndScenarioMeta)
-
-