Uses of Class
org.apache.maven.api.model.Resource
-
Uses of Resource in org.apache.maven.api.model
Methods in org.apache.maven.api.model that return ResourceModifier and TypeMethodDescriptionResource.Builder.build()
static Resource
Resource.newInstance()
Creates a newResource
instance.static Resource
Resource.newInstance
(boolean withDefaults) Creates a newResource
instance using default values or not.Resource.withDirectory
(String directory) Creates a newResource
instance using the specified directory.Resource.withExcludes
(Collection<String> excludes) Creates a newResource
instance using the specified excludes.Resource.withFiltering
(String filtering) Creates a newResource
instance using the specified filtering.Resource.withIncludes
(Collection<String> includes) Creates a newResource
instance using the specified includes.Resource.withMergeId
(String mergeId) Creates a newResource
instance using the specified mergeId.Resource.withTargetPath
(String targetPath) Creates a newResource
instance using the specified targetPath.Methods in org.apache.maven.api.model that return types with arguments of type ResourceModifier and TypeMethodDescriptionBuildBase.getResources()
This element describes all of the classpath resources such as properties files associated with a project.BuildBase.getTestResources()
This element describes all of the classpath resources such as properties files associated with a project's unit tests.Methods in org.apache.maven.api.model with parameters of type ResourceModifier and TypeMethodDescriptionstatic Resource.Builder
Resource.newBuilder
(Resource from) Creates a newResource
builder instance using the specified object as a basis.static Resource.Builder
Resource.newBuilder
(Resource from, boolean forceCopy) Creates a newResource
builder instance using the specified object as a basis.Method parameters in org.apache.maven.api.model with type arguments of type ResourceModifier and TypeMethodDescriptionBuild.Builder.resources
(Collection<Resource> resources) BuildBase.Builder.resources
(Collection<Resource> resources) Build.Builder.testResources
(Collection<Resource> testResources) BuildBase.Builder.testResources
(Collection<Resource> testResources) Build.withResources
(Collection<Resource> resources) Creates a newBuild
instance using the specified resources.BuildBase.withResources
(Collection<Resource> resources) Creates a newBuildBase
instance using the specified resources.Build.withTestResources
(Collection<Resource> testResources) Creates a newBuild
instance using the specified testResources.BuildBase.withTestResources
(Collection<Resource> testResources) Creates a newBuildBase
instance using the specified testResources.