org.apache.maven.project
Class Build

java.lang.Object
  extended by org.apache.maven.project.PluginContainer
      extended by org.apache.maven.project.PluginConfiguration
          extended by org.apache.maven.project.BuildBase
              extended by org.apache.maven.project.Build
All Implemented Interfaces:
java.io.Serializable

public class Build
extends BuildBase
implements java.io.Serializable

null

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

Constructor Summary
Build()
           
 
Method Summary
 void addSourceModification(SourceModification sourceModification)
          Method addSourceModification
 java.lang.String getAspectSourceDirectory()
          Get This element specifies a directory containing Aspect sources of the project.
 java.lang.String getIntegrationUnitTestSourceDirectory()
          Get This element is deprecated and should no longer be used.
 java.lang.String getModelEncoding()
           
 java.lang.String getNagEmailAddress()
          Get An address to which notifications regarding the status of builds for this project can be sent.
 java.lang.String getSourceDirectory()
          Get This element specifies a directory containing the source of the project.
 java.util.List getSourceModifications()
          Method getSourceModifications
 UnitTest getUnitTest()
          Get This element specifies unit tests associated with the project.
 java.lang.String getUnitTestSourceDirectory()
          Get This element specifies a directory containing the unit test source of the project.
 void removeSourceModification(SourceModification sourceModification)
          Method removeSourceModification
 void setAspectSourceDirectory(java.lang.String aspectSourceDirectory)
          Set This element specifies a directory containing Aspect sources of the project.
 void setIntegrationUnitTestSourceDirectory(java.lang.String integrationUnitTestSourceDirectory)
          Set This element is deprecated and should no longer be used.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setNagEmailAddress(java.lang.String nagEmailAddress)
          Set An address to which notifications regarding the status of builds for this project can be sent.
 void setSourceDirectory(java.lang.String sourceDirectory)
          Set This element specifies a directory containing the source of the project.
 void setSourceModifications(java.util.List sourceModifications)
          Set This element describes all of the sourceModifications associated with a project.
 void setUnitTest(UnitTest unitTest)
          Set This element specifies unit tests associated with the project.
 void setUnitTestSourceDirectory(java.lang.String unitTestSourceDirectory)
          Set This element specifies a directory containing the unit test source of the project.
 
Methods inherited from class org.apache.maven.project.BuildBase
addResource, getDefaultGoal, getResources, removeResource, setDefaultGoal, setResources
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Build

public Build()
Method Detail

addSourceModification

public void addSourceModification(SourceModification sourceModification)
Method addSourceModification

Parameters:
sourceModification -

getAspectSourceDirectory

public java.lang.String getAspectSourceDirectory()
Get This element specifies a directory containing Aspect sources of the project. The generated build system will compile the Aspects in this directory when the project is built if Aspects have been enabled. The path given is relative to the project descriptor.


getIntegrationUnitTestSourceDirectory

public java.lang.String getIntegrationUnitTestSourceDirectory()
Get This element is deprecated and should no longer be used. Initially it was used by the first Cactus plugin. Now the location of the Cactus test sources is defined through a plugin property. See the Cactus plugin properties page.


getNagEmailAddress

public java.lang.String getNagEmailAddress()
Get An address to which notifications regarding the status of builds for this project can be sent. This is intended for use by tools which do unattended builds, for example those providing for continuous integration.


getSourceDirectory

public java.lang.String getSourceDirectory()
Get This element specifies a directory containing the source of the project. The generated build system will compile the source in this directory when the project is built. The path given is relative to the project descriptor.


getSourceModifications

public java.util.List getSourceModifications()
Method getSourceModifications


getUnitTest

public UnitTest getUnitTest()
Get This element specifies unit tests associated with the project.


getUnitTestSourceDirectory

public java.lang.String getUnitTestSourceDirectory()
Get This element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor.


removeSourceModification

public void removeSourceModification(SourceModification sourceModification)
Method removeSourceModification

Parameters:
sourceModification -

setAspectSourceDirectory

public void setAspectSourceDirectory(java.lang.String aspectSourceDirectory)
Set This element specifies a directory containing Aspect sources of the project. The generated build system will compile the Aspects in this directory when the project is built if Aspects have been enabled. The path given is relative to the project descriptor.

Parameters:
aspectSourceDirectory -

setIntegrationUnitTestSourceDirectory

public void setIntegrationUnitTestSourceDirectory(java.lang.String integrationUnitTestSourceDirectory)
Set This element is deprecated and should no longer be used. Initially it was used by the first Cactus plugin. Now the location of the Cactus test sources is defined through a plugin property. See the Cactus plugin properties page.

Parameters:
integrationUnitTestSourceDirectory -

setNagEmailAddress

public void setNagEmailAddress(java.lang.String nagEmailAddress)
Set An address to which notifications regarding the status of builds for this project can be sent. This is intended for use by tools which do unattended builds, for example those providing for continuous integration.

Parameters:
nagEmailAddress -

setSourceDirectory

public void setSourceDirectory(java.lang.String sourceDirectory)
Set This element specifies a directory containing the source of the project. The generated build system will compile the source in this directory when the project is built. The path given is relative to the project descriptor.

Parameters:
sourceDirectory -

setSourceModifications

public void setSourceModifications(java.util.List sourceModifications)
Set This element describes all of the sourceModifications associated with a project. These modifications are used to exclude or include various source depending on the environment the build is running in.

Parameters:
sourceModifications -

setUnitTest

public void setUnitTest(UnitTest unitTest)
Set This element specifies unit tests associated with the project.

Parameters:
unitTest -

setUnitTestSourceDirectory

public void setUnitTestSourceDirectory(java.lang.String unitTestSourceDirectory)
Set This element specifies a directory containing the unit test source of the project. The generated build system will compile these directories when the project is being tested. The path given is relative to the project descriptor.

Parameters:
unitTestSourceDirectory -

setModelEncoding

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

getModelEncoding

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


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