Package org.jbehave.core.steps
Class StepFinder.ByLevenshteinDistance
- java.lang.Object
-
- org.jbehave.core.steps.StepFinder.ByLevenshteinDistance
-
- All Implemented Interfaces:
StepFinder.PrioritisingStrategy
- Enclosing class:
- StepFinder
public static class StepFinder.ByLevenshteinDistance extends Object implements StepFinder.PrioritisingStrategy
Strategy to priorise candidate steps by Levenshtein Distance
-
-
Constructor Summary
Constructors Constructor Description ByLevenshteinDistance()
-
-
-
Method Detail
-
prioritise
public List<StepCandidate> prioritise(String stepAsText, List<StepCandidate> candidates)
- Specified by:
prioritise
in interfaceStepFinder.PrioritisingStrategy
-
-