Class SourceModification

All Implemented Interfaces:
Serializable

public class SourceModification extends FileSet implements 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

    Fields
    Modifier and Type
    Field
    Description
    private 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 the sourceDirectory.
    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 the sourceDirectory.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    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.
    Get if the property with this name is not set, then the includes and excludes specified below will be applied to the contents of the sourceDirectory.
    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 the sourceDirectory.
    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 the sourceDirectory.

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • className

      private String 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 the sourceDirectory.
    • property

      private String property
      If the property with this name is not set, then the includes and excludes specified below will be applied to the contents of the sourceDirectory.
  • Constructor Details

    • SourceModification

      public SourceModification()
  • Method Details

    • getClassName

      public 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.
      Returns:
      String
    • getProperty

      public 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 the sourceDirectory.
      Returns:
      String
    • setClassName

      public 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 the sourceDirectory.
      Parameters:
      className - a className object.
    • setProperty

      public 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 the sourceDirectory.
      Parameters:
      property - a property object.