Package org.apache.maven.model.v3_0_0
Class SourceModification
java.lang.Object
org.apache.maven.model.v3_0_0.PatternSet
org.apache.maven.model.v3_0_0.FileSet
org.apache.maven.model.v3_0_0.SourceModification
- All Implemented Interfaces:
Serializable
This element describes all of the source modifications
associated with a project.
These modifications are used to exclude or include
various source depending on the
environment the build is running in.
- Version:
- $Revision$ $Date$
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate String
If the class with this name can not be loaded, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.private String
If the property with this name is not set, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet if the class with this name can not be loaded, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.Get if the property with this name is not set, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.void
setClassName
(String className) Set if the class with this name can not be loaded, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.void
setProperty
(String property) Set if the property with this name is not set, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.Methods inherited from class org.apache.maven.model.v3_0_0.FileSet
getDirectory, setDirectory
Methods inherited from class org.apache.maven.model.v3_0_0.PatternSet
addExclude, addInclude, getExcludes, getIncludes, removeExclude, removeInclude, setExcludes, setIncludes
-
Field Details
-
className
If the class with this name can not be loaded, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
. -
property
If the property with this name is not set, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.
-
-
Constructor Details
-
SourceModification
public SourceModification()
-
-
Method Details
-
getClassName
Get if the class with this name can not be loaded, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.- Returns:
- String
-
getProperty
Get if the property with this name is not set, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.- Returns:
- String
-
setClassName
Set if the class with this name can not be loaded, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.- Parameters:
className
- a className object.
-
setProperty
Set if the property with this name is not set, then the includes and excludes specified below will be applied to the contents of thesourceDirectory
.- Parameters:
property
- a property object.
-