Uses of Class
org.apache.maven.api.model.Resource
Package
Description
Maven Immutable POM (Project Object Model) classes, generated from
maven.mdo
model.-
Uses of Resource in org.apache.maven.api.model
Modifier 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.Modifier 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.Modifier 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.Modifier 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. -
Uses of Resource in org.apache.maven.model
-
Uses of Resource in org.apache.maven.model.v4
Modifier and TypeMethodDescriptionprotected Resource
MavenMerger.mergeResource
(Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected Resource
MavenTransformer.transformResource
(Resource target) Modifier and TypeMethodDescriptionprotected MavenMerger.KeyComputer
<Resource> MavenMerger.getResourceKey()
Modifier and TypeMethodDescriptionprotected void
MavenMerger.mergeResource
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected Resource
MavenMerger.mergeResource
(Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_Directory
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_Excludes
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_Filtering
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_Includes
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_MergeId
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected void
MavenMerger.mergeResource_TargetPath
(Resource.Builder builder, Resource target, Resource source, boolean sourceDominant, Map<Object, Object> context) protected Resource
MavenTransformer.transformResource
(Resource target) protected void
MavenTransformer.transformResource_Directory
(Resource.Builder builder, Resource target) protected void
MavenTransformer.transformResource_Excludes
(Resource.Builder builder, Resource target) protected void
MavenTransformer.transformResource_Filtering
(Resource.Builder builder, Resource target) protected void
MavenTransformer.transformResource_Includes
(Resource.Builder builder, Resource target) protected void
MavenTransformer.transformResource_TargetPath
(Resource.Builder builder, Resource target)