Uses of Class
org.apache.maven.api.model.Source
-
Uses of Source in org.apache.maven.api.model
Methods in org.apache.maven.api.model that return SourceModifier and TypeMethodDescriptionSource.Builder.build()
static Source
Source.newInstance()
Creates a newSource
instance.static Source
Source.newInstance
(boolean withDefaults) Creates a newSource
instance using default values or not.Source.withDirectory
(String directory) Creates a newSource
instance using the specified directory.Source.withEnabled
(boolean enabled) Creates a newSource
instance using the specified enabled.Source.withExcludes
(Collection<String> excludes) Creates a newSource
instance using the specified excludes.Source.withIncludes
(Collection<String> includes) Creates a newSource
instance using the specified includes.Creates a newSource
instance using the specified lang.Source.withModule
(String module) Creates a newSource
instance using the specified module.Creates a newSource
instance using the specified scope.Source.withStringFiltering
(boolean stringFiltering) Creates a newSource
instance using the specified stringFiltering.Source.withTargetPath
(String targetPath) Creates a newSource
instance using the specified targetPath.Source.withTargetVersion
(String targetVersion) Creates a newSource
instance using the specified targetVersion.Methods in org.apache.maven.api.model that return types with arguments of type SourceModifier and TypeMethodDescriptionBuild.getSources()
All the sources to compile and resources files to copy for a project or it's unit tests.Methods in org.apache.maven.api.model with parameters of type SourceModifier and TypeMethodDescriptionstatic Source.Builder
Source.newBuilder
(Source from) Creates a newSource
builder instance using the specified object as a basis.static Source.Builder
Source.newBuilder
(Source from, boolean forceCopy) Creates a newSource
builder instance using the specified object as a basis.Method parameters in org.apache.maven.api.model with type arguments of type SourceModifier and TypeMethodDescriptionBuild.Builder.sources
(Collection<Source> sources) Build.withSources
(Collection<Source> sources) Creates a newBuild
instance using the specified sources.Constructors in org.apache.maven.api.model with parameters of type Source