Package 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 theStepCandidate.getPriority()
field which is settable in theGiven
,When
,Then
annotations.
-
-
Constructor Summary
Constructors Constructor Description ByPriorityField()
-
-
-
Method Detail
-
prioritise
public List<StepCandidate> prioritise(String stepAsText, List<StepCandidate> candidates)
- Specified by:
prioritise
in interfaceStepFinder.PrioritisingStrategy
-
-