org.jbehave.core.steps
Interface CandidateSteps

All Known Implementing Classes:
Steps

public interface CandidateSteps

Represents the list of candidate steps that can be performed


Method Summary
 StepsConfiguration getConfiguration()
          Returns the steps configuration
 CandidateStep[] getSteps()
          Return all the candidate steps that can be performed by the implementing class
 CandidateStep[] getSteps(java.lang.Class<?> stepsClass)
          Return all the candidate steps that can be performed by the given class
 java.util.List<Step> runAfterScenario()
          Return all the executable steps to run after each core
 java.util.List<Step> runAfterStory(boolean embeddedStory)
          Return all the executable steps to run after each story, based on the embedded status
 java.util.List<Step> runBeforeScenario()
          Return all the executable steps to run before each core
 java.util.List<Step> runBeforeStory(boolean embeddedStory)
          Return all the executable steps to run before each story, based on the embedded status
 

Method Detail

getSteps

CandidateStep[] getSteps()
Return all the candidate steps that can be performed by the implementing class

Returns:
The list of candidate steps

getSteps

CandidateStep[] getSteps(java.lang.Class<?> stepsClass)
Return all the candidate steps that can be performed by the given class

Returns:
The list of candidate steps

runBeforeStory

java.util.List<Step> runBeforeStory(boolean embeddedStory)
Return all the executable steps to run before each story, based on the embedded status

Parameters:
embeddedStory - the boolean flag denoting the embedded status
Returns:
The list of steps

runAfterStory

java.util.List<Step> runAfterStory(boolean embeddedStory)
Return all the executable steps to run after each story, based on the embedded status

Parameters:
embeddedStory - the boolean flag denoting the embedded status
Returns:
The list of steps

runBeforeScenario

java.util.List<Step> runBeforeScenario()
Return all the executable steps to run before each core

Returns:
The list of steps

runAfterScenario

java.util.List<Step> runAfterScenario()
Return all the executable steps to run after each core

Returns:
The list of steps

getConfiguration

StepsConfiguration getConfiguration()
Returns the steps configuration

Returns:
The StepsConfiguration


Copyright © 2003-2010. All Rights Reserved.