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 Details

    • CompositeCandidateSteps

      public CompositeCandidateSteps(Configuration configuration, Set<String> compositePaths)
  • Method Details

    • 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