public static class MavenResource.Builder extends Object
| Modifier and Type | Method and Description |
|---|---|
MavenResource |
build()
Build a
MavenResource with the current state of this builder. |
MavenResource.Builder |
excludes(String... excludes)
Set the files patterns to use to exclude files.
|
MavenResource.Builder |
filtering(Boolean filtering)
Specify if filtering is enabled when copying resources.
|
MavenResource.Builder |
includes(String... includes)
Set the files patterns to use to include files.
|
MavenResource.Builder |
targetPath(String targetPath)
Set the directory structure to place the set of resources from a build or
null to use the root directory. |
public Builder(String directory)
public MavenResource.Builder targetPath(String targetPath)
null to use the root directory.targetPath - the target pathpublic MavenResource.Builder filtering(Boolean filtering)
filtering - true to enable resource filteringpublic MavenResource.Builder includes(String... includes)
include and exclude, exclude wins.includes - the include patternspublic MavenResource.Builder excludes(String... excludes)
include and exclude, exclude wins.excludes - the exclude patternspublic MavenResource build()
MavenResource with the current state of this builder.MavenResourceCopyright © 2020 Pivotal Software, Inc.. All rights reserved.