public static class PerformableTree.PerformableStory extends Object implements PerformableTree.Performable
| Constructor and Description |
|---|
PerformableStory(Story story,
Keywords keywords,
boolean givenStory) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(PerformableTree.PerformableScenario performableScenario) |
void |
addAfterSteps(PerformableTree.PerformableSteps afterSteps) |
void |
addBeforeSteps(PerformableTree.PerformableSteps beforeSteps) |
void |
addGivenStories(List<PerformableTree.PerformableStory> performableGivenStories) |
void |
allowed(boolean allowed) |
String |
getLocalisedNarrative() |
List<PerformableTree.PerformableScenario> |
getScenarios() |
PerformableTree.Status |
getStatus() |
Story |
getStory() |
Timing |
getTiming() |
boolean |
givenStory() |
boolean |
isAllowed() |
void |
perform(PerformableTree.RunContext context) |
void |
reportFailures(PerformableTree.FailureContext context) |
public void allowed(boolean allowed)
public boolean isAllowed()
public boolean givenStory()
public PerformableTree.Status getStatus()
public void addGivenStories(List<PerformableTree.PerformableStory> performableGivenStories)
public void addBeforeSteps(PerformableTree.PerformableSteps beforeSteps)
public void addAfterSteps(PerformableTree.PerformableSteps afterSteps)
public void add(PerformableTree.PerformableScenario performableScenario)
public Story getStory()
public String getLocalisedNarrative()
public Timing getTiming()
public void perform(PerformableTree.RunContext context) throws InterruptedException
perform in interface PerformableTree.PerformableInterruptedExceptionpublic void reportFailures(PerformableTree.FailureContext context)
reportFailures in interface PerformableTree.Performablepublic List<PerformableTree.PerformableScenario> getScenarios()
Copyright © 2003–2018. All rights reserved.