Class PathSearch.ScoredPath
java.lang.Object
org.springframework.shell.component.PathSearch.ScoredPath
- All Implemented Interfaces:
Comparable<PathSearch.ScoredPath>
- Enclosing class:
- PathSearch
public static class PathSearch.ScoredPath
extends Object
implements Comparable<PathSearch.ScoredPath>
Holder class keeping
Path
and SearchMatchResult
.-
Method Summary
Modifier and TypeMethodDescriptionint
compareTo
(PathSearch.ScoredPath other) getPath()
static PathSearch.ScoredPath
of
(Path path, SearchMatchResult result)
-
Method Details
-
of
-
getPath
-
getResult
-
compareTo
- Specified by:
compareTo
in interfaceComparable<PathSearch.ScoredPath>
-