Package org.jbehave.core.steps
Class CompositeCandidateSteps
- java.lang.Object
-
- org.jbehave.core.steps.AbstractCandidateSteps
-
- org.jbehave.core.steps.CompositeCandidateSteps
-
- All Implemented Interfaces:
CandidateSteps
public class CompositeCandidateSteps extends AbstractCandidateSteps
-
-
Constructor Summary
Constructors Constructor Description CompositeCandidateSteps(Configuration configuration, Set<String> compositePaths)
-
Method Summary
Modifier and Type Method Description Map<ScenarioType,List<BeforeOrAfterStep>>
listAfterScenario()
Returns the after scenario stepsList<BeforeOrAfterStep>
listAfterStories()
Returns the after stories stepsList<BeforeOrAfterStep>
listAfterStory(boolean givenStory)
Returns the after story steps, based on the given story statusMap<ScenarioType,List<BeforeOrAfterStep>>
listBeforeScenario()
Returns the before scenario stepsList<BeforeOrAfterStep>
listBeforeStories()
Returns the before stories stepsList<BeforeOrAfterStep>
listBeforeStory(boolean givenStory)
Returns the before story steps, based on the given story statusList<StepCandidate>
listCandidates()
Returns the step candidates that can be matched-
Methods inherited from class org.jbehave.core.steps.AbstractCandidateSteps
configuration, createCandidate
-
-
-
-
Constructor Detail
-
CompositeCandidateSteps
public CompositeCandidateSteps(Configuration configuration, Set<String> compositePaths)
-
-
Method Detail
-
listCandidates
public List<StepCandidate> listCandidates()
Description copied from interface:CandidateSteps
Returns the step candidates that can be matched- Returns:
- The list of step candidates
-
listBeforeStories
public List<BeforeOrAfterStep> listBeforeStories()
Description copied from interface:CandidateSteps
Returns the before stories steps- Returns:
- The list of the before stories steps
-
listAfterStories
public List<BeforeOrAfterStep> listAfterStories()
Description copied from interface:CandidateSteps
Returns the after stories steps- Returns:
- The list of the after stories steps
-
listBeforeStory
public List<BeforeOrAfterStep> listBeforeStory(boolean givenStory)
Description copied from interface:CandidateSteps
Returns the before story steps, based on the given story status- Parameters:
givenStory
- the boolean flag denoting if it's a given story- Returns:
- The list of the before story steps
-
listAfterStory
public List<BeforeOrAfterStep> listAfterStory(boolean givenStory)
Description copied from interface:CandidateSteps
Returns the after story steps, based on the given story status- Parameters:
givenStory
- the boolean flag denoting if it's a given story- Returns:
- The list of the after story steps
-
listBeforeScenario
public Map<ScenarioType,List<BeforeOrAfterStep>> listBeforeScenario()
Description copied from interface:CandidateSteps
Returns the before scenario steps- Returns:
- The list of the before scenario steps
-
listAfterScenario
public Map<ScenarioType,List<BeforeOrAfterStep>> listAfterScenario()
Description copied from interface:CandidateSteps
Returns the after scenario steps- Returns:
- The list of the after scenario steps
-
-