Package io.quarkus.bootstrap.model
Class PathsCollection
- java.lang.Object
-
- io.quarkus.bootstrap.model.PathsCollection
-
- All Implemented Interfaces:
PathCollection,Serializable,Iterable<Path>
public class PathsCollection extends Object implements PathCollection, 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)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
-
Methods inherited from interface io.quarkus.paths.PathCollection
getSinglePath
-
-
-
-
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()
- Specified by:
isEmptyin interfacePathCollection
-
size
public int size()
- Specified by:
sizein interfacePathCollection
-
isSinglePath
public boolean isSinglePath()
- Specified by:
isSinglePathin interfacePathCollection
-
contains
public boolean contains(Path path)
- Specified by:
containsin interfacePathCollection
-
add
public PathsCollection add(Path... paths)
- Specified by:
addin interfacePathCollection
-
addFirst
public PathsCollection addFirst(Path... paths)
- Specified by:
addFirstin interfacePathCollection
-
addAllFirst
public PathsCollection addAllFirst(Iterable<Path> i)
- Specified by:
addAllFirstin interfacePathCollection
-
resolveExistingOrNull
public Path resolveExistingOrNull(String path)
- Specified by:
resolveExistingOrNullin interfacePathCollection
-
toList
public Collection<Path> toList()
-
-