org.apache.maven.project
Class SourceModification

java.lang.Object
  extended byorg.apache.maven.project.BaseObject
      extended byorg.apache.maven.project.Resource
          extended byorg.apache.maven.project.SourceModification

public class SourceModification
extends Resource

A source modification is made when a given class or property is present during a build. Currently with the way Maven works an exclusion is the only thing that makes sense. But I want to account for future cases where the sources are not all together and someone may want to include a body of source given the presence of a class or property.

Version:
$Id: SourceModification.java 122095 2004-03-01 22:36:39Z evenisse $
Author:
Jason van Zyl

Field Summary
 
Fields inherited from class org.apache.maven.project.BaseObject
id
 
Constructor Summary
SourceModification()
           
 
Method Summary
 java.lang.String getClassName()
          Gets the className attribute of the SourceModification object
 java.lang.String getProperty()
          Gets the property attribute of the SourceModification object
 void setClassName(java.lang.String className)
          Sets the className attribute of the SourceModification object
 void setProperty(java.lang.String property)
          Sets the property attribute of the SourceModification object
 
Methods inherited from class org.apache.maven.project.Resource
addExclude, addInclude, getDirectory, getExcludes, getFiltering, getIncludes, getTargetPath, resolveDirectory, setDirectory, setFiltering, setTargetPath, toString
 
Methods inherited from class org.apache.maven.project.BaseObject
addProperty, equals, getId, getName, getProperties, getProperty, hashCode, isValid, resolvedProperties, setId, setName, setProperties
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SourceModification

public SourceModification()
Method Detail

setClassName

public void setClassName(java.lang.String className)
Sets the className attribute of the SourceModification object

Parameters:
className - Classname that if not present triggers an exclusion of sources.

getClassName

public java.lang.String getClassName()
Gets the className attribute of the SourceModification object

Returns:
Classname that if not present triggers an exclusion of sources.

setProperty

public void setProperty(java.lang.String property)
Sets the property attribute of the SourceModification object

Parameters:
property - Property that when not present triggers an exclusion of sources.

getProperty

public java.lang.String getProperty()
Gets the property attribute of the SourceModification object

Returns:
Property that when not present triggers an exclusion of sources.


Copyright © 2001-2005 Apache Software Foundation. All Rights Reserved.