org.jbehave.core.steps
Class StepFinder.ByPriorityField
java.lang.Object
org.jbehave.core.steps.StepFinder.ByPriorityField
- All Implemented Interfaces:
- StepFinder.PrioritisingStrategy
- Enclosing class:
- StepFinder
public static class StepFinder.ByPriorityField
- extends Object
- implements StepFinder.PrioritisingStrategy
Strategy to priorise step candidates by the
StepCandidate.getPriority()
field which is settable in the
Given
, When
, Then
annotations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StepFinder.ByPriorityField
public StepFinder.ByPriorityField()
prioritise
public List<StepCandidate> prioritise(String stepAsText,
List<StepCandidate> candidates)
- Specified by:
prioritise
in interface StepFinder.PrioritisingStrategy
Copyright © 2003-2011. All Rights Reserved.