Package io.quarkus.bootstrap.model
Class PathsCollection
- java.lang.Object
-
- io.quarkus.bootstrap.model.PathsCollection
-
- All Implemented Interfaces:
Serializable,Iterable<Path>
public class PathsCollection extends Object implements Iterable<Path>, Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPathsCollection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PathsCollectionadd(Path... paths)PathsCollectionaddAllFirst(Iterable<Path> i)PathsCollectionaddFirst(Path... paths)static PathsCollection.Builderbuilder()booleancontains(Path path)static PathsCollectionfrom(Iterable<Path> paths)PathgetSinglePath()booleanisEmpty()booleanisSinglePath()Iterator<Path>iterator()static PathsCollectionof(Path... paths)PathresolveExistingOrNull(String path)intsize()Collection<Path>toList()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
from
public static PathsCollection from(Iterable<Path> paths)
-
of
public static PathsCollection of(Path... paths)
-
builder
public static PathsCollection.Builder builder()
-
isEmpty
public boolean isEmpty()
-
size
public int size()
-
isSinglePath
public boolean isSinglePath()
-
getSinglePath
public Path getSinglePath()
-
contains
public boolean contains(Path path)
-
add
public PathsCollection add(Path... paths)
-
addFirst
public PathsCollection addFirst(Path... paths)
-
addAllFirst
public PathsCollection addAllFirst(Iterable<Path> i)
-
toList
public Collection<Path> toList()
-
-