Package org.eolang.maven.util
Class Walk
- java.lang.Object
-
- org.cactoos.iterable.IterableEnvelope<X>
-
- org.cactoos.collection.CollectionEnvelope<T>
-
- org.cactoos.list.ListEnvelope<Path>
-
- org.eolang.maven.util.Walk
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Walk
excludes(Collection<String> globs)
Includes this globs.Walk
includes(Collection<String> globs)
Includes this globs.-
Methods inherited from class org.cactoos.list.ListEnvelope
add, addAll, get, indexOf, lastIndexOf, listIterator, listIterator, remove, set, subList
-
Methods inherited from class org.cactoos.collection.CollectionEnvelope
add, addAll, clear, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from class org.cactoos.iterable.IterableEnvelope
equals, hashCode, iterator, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
-
-
-
Constructor Detail
-
Walk
public Walk(Path dir)
Ctor.- Parameters:
dir
- The directory
-
-
Method Detail
-
includes
public Walk includes(Collection<String> globs)
Includes this globs.- Parameters:
globs
- List of them- Returns:
- New Walk
-
excludes
public Walk excludes(Collection<String> globs)
Includes this globs.- Parameters:
globs
- List of them- Returns:
- New Walk
-
-