Modifier and Type | Method and Description |
---|---|
Resource |
Resource.Builder.build() |
static Resource |
Resource.newInstance()
Creates a new
Resource instance. |
static Resource |
Resource.newInstance(boolean withDefaults)
Creates a new
Resource instance using default values or not. |
Resource |
Resource.withDirectory(String directory)
Creates a new
Resource instance using the specified directory. |
Resource |
Resource.withExcludes(Collection<String> excludes)
Creates a new
Resource instance using the specified excludes. |
Resource |
Resource.withFiltering(String filtering)
Creates a new
Resource instance using the specified filtering. |
Resource |
Resource.withIncludes(Collection<String> includes)
Creates a new
Resource instance using the specified includes. |
Resource |
Resource.withMergeId(String mergeId)
Creates a new
Resource instance using the specified mergeId. |
Resource |
Resource.withTargetPath(String targetPath)
Creates a new
Resource instance using the specified targetPath. |
Modifier and Type | Method and Description |
---|---|
List<Resource> |
BuildBase.getResources()
This element describes all of the classpath resources such as properties
files associated with a project.
|
List<Resource> |
BuildBase.getTestResources()
This element describes all of the classpath resources such as properties
files associated with a project's unit tests.
|
Modifier and Type | Method and Description |
---|---|
static Resource.Builder |
Resource.newBuilder(Resource from)
Creates a new
Resource builder instance using the specified object as a basis. |
static Resource.Builder |
Resource.newBuilder(Resource from,
boolean forceCopy)
Creates a new
Resource builder instance using the specified object as a basis. |
Modifier and Type | Method and Description |
---|---|
Build.Builder |
Build.Builder.resources(Collection<Resource> resources) |
BuildBase.Builder |
BuildBase.Builder.resources(Collection<Resource> resources) |
Build.Builder |
Build.Builder.testResources(Collection<Resource> testResources) |
BuildBase.Builder |
BuildBase.Builder.testResources(Collection<Resource> testResources) |
Build |
Build.withResources(Collection<Resource> resources)
Creates a new
Build instance using the specified resources. |
BuildBase |
BuildBase.withResources(Collection<Resource> resources)
Creates a new
BuildBase instance using the specified resources. |
Build |
Build.withTestResources(Collection<Resource> testResources)
Creates a new
Build instance using the specified testResources. |
BuildBase |
BuildBase.withTestResources(Collection<Resource> testResources)
Creates a new
BuildBase instance using the specified testResources. |
Copyright © 2001–2022 The Apache Software Foundation. All rights reserved.