Class Build

All Implemented Interfaces:
Serializable

public class Build extends BuildBase implements Serializable
The <build> element contains informations required to build the project.
Version:
$Revision$ $Date$
See Also:
  • Field Details

    • nagEmailAddress

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

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

      private String unitTestSourceDirectory
      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.
    • aspectSourceDirectory

      private String aspectSourceDirectory
      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.
    • integrationUnitTestSourceDirectory

      private String integrationUnitTestSourceDirectory
      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.
    • sourceModifications

      private List<SourceModification> sourceModifications
      Field sourceModifications.
    • unitTest

      private UnitTest unitTest
      This element specifies unit tests associated with the project
  • Constructor Details

    • Build

      public Build()
  • Method Details

    • addSourceModification

      public void addSourceModification(SourceModification sourceModification)
      Method addSourceModification.
      Parameters:
      sourceModification - a sourceModification object.
    • getAspectSourceDirectory

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

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

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

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

      public List<SourceModification> getSourceModifications()
      Method getSourceModifications.
      Returns:
      List
    • getUnitTest

      public UnitTest getUnitTest()
      Get this element specifies unit tests associated with the project.
      Returns:
      UnitTest
    • getUnitTestSourceDirectory

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

      public void removeSourceModification(SourceModification sourceModification)
      Method removeSourceModification.
      Parameters:
      sourceModification - a sourceModification object.
    • setAspectSourceDirectory

      public void setAspectSourceDirectory(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 - a aspectSourceDirectory object.
    • setIntegrationUnitTestSourceDirectory

      public void setIntegrationUnitTestSourceDirectory(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 - a integrationUnitTestSourceDirectory object.
    • setNagEmailAddress

      public void setNagEmailAddress(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 - a nagEmailAddress object.
    • setSourceDirectory

      public void setSourceDirectory(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 - a sourceDirectory object.
    • setSourceModifications

      public void setSourceModifications(List<SourceModification> 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 - a sourceModifications object.
    • setUnitTest

      public void setUnitTest(UnitTest unitTest)
      Set this element specifies unit tests associated with the project.
      Parameters:
      unitTest - a unitTest object.
    • setUnitTestSourceDirectory

      public void setUnitTestSourceDirectory(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 - a unitTestSourceDirectory object.