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 class
PathsCollection.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PathsCollection
add(Path... paths)
PathsCollection
addAllFirst(Iterable<Path> i)
PathsCollection
addFirst(Path... paths)
static PathsCollection.Builder
builder()
boolean
contains(Path path)
static PathsCollection
from(Iterable<Path> paths)
boolean
isEmpty()
boolean
isSinglePath()
Iterator<Path>
iterator()
static PathsCollection
of(Path... paths)
Path
resolveExistingOrNull(String path)
int
size()
Collection<Path>
toList()
String
toString()
-
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, stream
-
-
-
-
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:
isEmpty
in interfacePathCollection
-
size
public int size()
- Specified by:
size
in interfacePathCollection
-
isSinglePath
public boolean isSinglePath()
- Specified by:
isSinglePath
in interfacePathCollection
-
contains
public boolean contains(Path path)
- Specified by:
contains
in interfacePathCollection
-
add
public PathsCollection add(Path... paths)
- Specified by:
add
in interfacePathCollection
-
addFirst
public PathsCollection addFirst(Path... paths)
- Specified by:
addFirst
in interfacePathCollection
-
addAllFirst
public PathsCollection addAllFirst(Iterable<Path> i)
- Specified by:
addAllFirst
in interfacePathCollection
-
resolveExistingOrNull
public Path resolveExistingOrNull(String path)
- Specified by:
resolveExistingOrNull
in interfacePathCollection
-
toList
public Collection<Path> toList()
-
-