org.apache.maven.project
Class SourceModification
java.lang.Object
org.apache.maven.project.BaseObject
org.apache.maven.project.Resource
org.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,v 1.9.4.1 2004/03/01 22:36:38 evenisse Exp $
- Author:
- Jason van Zyl
Fields inherited from class org.apache.maven.project.BaseObject |
id |
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 |
SourceModification
public SourceModification()
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.