org.apache.maven.model
Class SourceModification

java.lang.Object
  extended byorg.apache.maven.model.PatternSet
      extended byorg.apache.maven.model.FileSet
          extended byorg.apache.maven.model.SourceModification
All Implemented Interfaces:
java.io.Serializable

public class SourceModification
extends FileSet
implements java.io.Serializable

This element describes all of the sourceModifications associated with a project. Each source modification is described by a sourceModification element, which is then described by additional elements (described below). These modifications are used to exclude or include various source depending on the environment the build is running in.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
private  java.lang.String className
          Field className
private  java.lang.String modelEncoding
           
private  java.lang.String property
          Field property
 
Fields inherited from class org.apache.maven.model.FileSet
 
Fields inherited from class org.apache.maven.model.PatternSet
 
Constructor Summary
SourceModification()
           
 
Method Summary
 java.lang.String 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 the sourceDirectory
 java.lang.String getModelEncoding()
           
 java.lang.String getProperty()
          Get the description
 void setClassName(java.lang.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 the sourceDirectory
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setProperty(java.lang.String property)
          Set the description
 
Methods inherited from class org.apache.maven.model.FileSet
getDirectory, setDirectory
 
Methods inherited from class org.apache.maven.model.PatternSet
addExclude, addInclude, getExcludes, getIncludes, removeExclude, removeInclude, setExcludes, setIncludes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

className

private java.lang.String className
Field className


property

private java.lang.String property
Field property


modelEncoding

private java.lang.String modelEncoding
Constructor Detail

SourceModification

public SourceModification()
Method Detail

getClassName

public java.lang.String 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 the sourceDirectory


getProperty

public java.lang.String getProperty()
Get the description


setClassName

public void setClassName(java.lang.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 the sourceDirectory

Parameters:
className -

setProperty

public void setProperty(java.lang.String property)
Set the description

Parameters:
property -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class FileSet

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class FileSet