org.jbehave.core.steps
Class StepFinder.ByPriorityField

java.lang.Object
  extended by org.jbehave.core.steps.StepFinder.ByPriorityField
All Implemented Interfaces:
StepFinder.PrioritisingStrategy
Enclosing class:
StepFinder

public static class StepFinder.ByPriorityField
extends java.lang.Object
implements StepFinder.PrioritisingStrategy

Strategy to priorise step candidates by the StepCandidate.getPriority() field which is settable in the Given, When, Then annotations.


Constructor Summary
StepFinder.ByPriorityField()
           
 
Method Summary
 java.util.List<StepCandidate> prioritise(java.lang.String stepAsText, java.util.List<StepCandidate> candidates)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StepFinder.ByPriorityField

public StepFinder.ByPriorityField()
Method Detail

prioritise

public java.util.List<StepCandidate> prioritise(java.lang.String stepAsText,
                                                java.util.List<StepCandidate> candidates)
Specified by:
prioritise in interface StepFinder.PrioritisingStrategy


Copyright © 2003-2010. All Rights Reserved.