org.jbehave.core
Class RunnableStoryDelegator
java.lang.Object
org.jbehave.core.RunnableStoryDelegator
- All Implemented Interfaces:
- RunnableStory
- Direct Known Subclasses:
- JUnitStories, JUnitStory
public abstract class RunnableStoryDelegator
- extends Object
- implements RunnableStory
Delegates RunnableStory
functionality to a delegate specified in a
post-instantiation call to delegateTo(..)
Note that we cannot use a constructor as some delegates, e.g. can
only be provided after the super() constructor has been invoked.
- See Also:
RunnableStory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunnableStoryDelegator
public RunnableStoryDelegator()
delegateTo
protected void delegateTo(RunnableStory delegate)
runStory
public void runStory()
throws Throwable
- Specified by:
runStory
in interface RunnableStory
- Throws:
Throwable
useConfiguration
public void useConfiguration(StoryConfiguration configuration)
- Specified by:
useConfiguration
in interface RunnableStory
getConfiguration
public StoryConfiguration getConfiguration()
- Specified by:
getConfiguration
in interface RunnableStory
addSteps
public void addSteps(CandidateSteps... steps)
- Specified by:
addSteps
in interface RunnableStory
getSteps
public List<CandidateSteps> getSteps()
- Specified by:
getSteps
in interface RunnableStory
generateStepdoc
public void generateStepdoc()
- Specified by:
generateStepdoc
in interface RunnableStory
Copyright © 2003-2010. All Rights Reserved.