@NotThreadSafe public static class FileSet.Builder extends PatternSet.Builder
PatternSet.with()
,
PatternSet.newBuilder()
Modifier and Type | Method and Description |
---|---|
FileSet |
build() |
FileSet.Builder |
directory(String directory) |
FileSet.Builder |
excludes(Collection<String> excludes) |
FileSet.Builder |
includes(Collection<String> includes) |
FileSet.Builder |
location(Object key,
InputLocation location) |
@Nonnull public FileSet.Builder includes(Collection<String> includes)
includes
in class PatternSet.Builder
@Nonnull public FileSet.Builder excludes(Collection<String> excludes)
excludes
in class PatternSet.Builder
@Nonnull public FileSet.Builder directory(String directory)
@Nonnull public FileSet.Builder location(Object key, InputLocation location)
location
in class PatternSet.Builder
@Nonnull public FileSet build()
build
in class PatternSet.Builder
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.