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