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() |
PerformableTree.Timing |
getTiming() |
boolean |
givenStory() |
boolean |
isAllowed() |
void |
perform(PerformableTree.RunContext 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 PerformableTree.Timing getTiming()
public void perform(PerformableTree.RunContext context) throws InterruptedException
perform
in interface PerformableTree.Performable
InterruptedException
public List<PerformableTree.PerformableScenario> getScenarios()
Copyright © 2003–2016. All rights reserved.