org.jbehave.scenario.steps
Interface CandidateSteps

All Known Implementing Classes:
Steps

public interface CandidateSteps

Represents the list of candidate steps that can be performed


Method Summary
 CandidateStep[] getSteps()
          Return all the steps that can be performed by the implementing class
 CandidateStep[] getSteps(java.lang.Class<?> stepsClass)
          Return all the steps that can be performed by the given class
 java.util.Collection<? extends Step> runAfterScenario()
          Return all steps to run after scenario
 java.util.Collection<? extends Step> runBeforeScenario()
          Return all steps to run before scenario
 

Method Detail

getSteps

CandidateStep[] getSteps()
Return all the 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 steps that can be performed by the given class

Returns:
The list of candidate steps

runBeforeScenario

java.util.Collection<? extends Step> runBeforeScenario()
Return all steps to run before scenario

Returns:
The list of steps

runAfterScenario

java.util.Collection<? extends Step> runAfterScenario()
Return all steps to run after scenario

Returns:
The list of steps


Copyright © 2003-2009. All Rights Reserved.