Interface PathAwareFinder
-
- All Superinterfaces:
java.lang.Cloneable
,ExtendedFinderSupport<PathAwareEntity,PathAwareFinder>
,Finder<PathAwareEntity>
,java.io.Serializable
public interface PathAwareFinder extends ExtendedFinderSupport<PathAwareEntity,PathAwareFinder>
- Author:
- Fabrizio Giudici
- Stereotype:
- Finder
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface it.tidalwave.util.Finder
Finder.InMemorySortCriterion<TYPE extends java.lang.Object>, Finder.SortCriterion, Finder.SortDirection
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PathAwareFinder
withPath(java.lang.String path)
Constrains the search to the entity with the given path.PathAwareFinder
withPath(java.nio.file.Path path)
Constrains the search to the entity with the given path.-
Methods inherited from interface it.tidalwave.util.spi.ExtendedFinderSupport
from, max, sort, sort, withContext
-
Methods inherited from interface it.tidalwave.util.Finder
count, firstResult, iterator, ofType, optionalFirstResult, optionalResult, result, results, stream
-
-
-
-
Method Detail
-
withPath
@Nonnull PathAwareFinder withPath(@Nonnull java.nio.file.Path path)
Constrains the search to the entity with the given path.- Parameters:
path
- the path- Returns:
- the
Finder
-
withPath
@Nonnull default PathAwareFinder withPath(@Nonnull java.lang.String path)
Constrains the search to the entity with the given path.- Parameters:
path
- the path- Returns:
- the
Finder
-
-