org.apache.maven.model
Class BuildBase

java.lang.Object
  extended byorg.apache.maven.model.PluginContainer
      extended byorg.apache.maven.model.PluginConfiguration
          extended byorg.apache.maven.model.BuildBase
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
Build

public class BuildBase
extends PluginConfiguration
implements java.io.Serializable

null

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

Field Summary
 
Fields inherited from class org.apache.maven.model.PluginContainer
pluginMap
 
Constructor Summary
BuildBase()
           
 
Method Summary
 void addFilter(java.lang.String string)
          Method addFilter
 void addResource(Resource resource)
          Method addResource
 void addTestResource(Resource resource)
          Method addTestResource
 java.lang.String getDefaultGoal()
          Get The default goal (or phase in Maven 2) to execute when none is specified for the project.
 java.lang.String getDirectory()
          Get The directory where all files generated by the build is placed.
 java.util.List getFilters()
          Method getFilters
 java.lang.String getFinalName()
          Get The filename (including an extension, but with no path information) that the produced artifact will be called.
 java.lang.String getModelEncoding()
           
 java.util.List getResources()
          Method getResources
 java.util.List getTestResources()
          Method getTestResources
 void removeFilter(java.lang.String string)
          Method removeFilter
 void removeResource(Resource resource)
          Method removeResource
 void removeTestResource(Resource resource)
          Method removeTestResource
 void setDefaultGoal(java.lang.String defaultGoal)
          Set The default goal (or phase in Maven 2) to execute when none is specified for the project.
 void setDirectory(java.lang.String directory)
          Set The directory where all files generated by the build is placed.
 void setFilters(java.util.List filters)
          Set The list of filter properties files that are used when filtering is enabled.
 void setFinalName(java.lang.String finalName)
          Set The filename (including an extension, but with no path information) that the produced artifact will be called.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setResources(java.util.List resources)
          Set This element describes all of the resources associated with a project or unit tests.
 void setTestResources(java.util.List testResources)
          Set This element describes all of the resources associated with a project's unit tests.
 
Methods inherited from class org.apache.maven.model.PluginConfiguration
getPluginManagement, setPluginManagement
 
Methods inherited from class org.apache.maven.model.PluginContainer
addPlugin, flushPluginMap, getPlugins, getPluginsAsMap, removePlugin, setPlugins
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildBase

public BuildBase()
Method Detail

addFilter

public void addFilter(java.lang.String string)
Method addFilter

Parameters:
string -

addResource

public void addResource(Resource resource)
Method addResource

Parameters:
resource -

addTestResource

public void addTestResource(Resource resource)
Method addTestResource

Parameters:
resource -

getDefaultGoal

public java.lang.String getDefaultGoal()
Get The default goal (or phase in Maven 2) to execute when none is specified for the project.


getDirectory

public java.lang.String getDirectory()
Get The directory where all files generated by the build is placed.


getFilters

public java.util.List getFilters()
Method getFilters


getFinalName

public java.lang.String getFinalName()
Get The filename (including an extension, but with no path information) that the produced artifact will be called. The default value is artifactId-version.extension (where extension is derived from type).


getResources

public java.util.List getResources()
Method getResources


getTestResources

public java.util.List getTestResources()
Method getTestResources


removeFilter

public void removeFilter(java.lang.String string)
Method removeFilter

Parameters:
string -

removeResource

public void removeResource(Resource resource)
Method removeResource

Parameters:
resource -

removeTestResource

public void removeTestResource(Resource resource)
Method removeTestResource

Parameters:
resource -

setDefaultGoal

public void setDefaultGoal(java.lang.String defaultGoal)
Set The default goal (or phase in Maven 2) to execute when none is specified for the project.

Parameters:
defaultGoal -

setDirectory

public void setDirectory(java.lang.String directory)
Set The directory where all files generated by the build is placed.

Parameters:
directory -

setFilters

public void setFilters(java.util.List filters)
Set The list of filter properties files that are used when filtering is enabled.

Parameters:
filters -

setFinalName

public void setFinalName(java.lang.String finalName)
Set The filename (including an extension, but with no path information) that the produced artifact will be called. The default value is artifactId-version.extension (where extension is derived from type).

Parameters:
finalName -

setResources

public void setResources(java.util.List resources)
Set This element describes all of the resources associated with a project or unit tests. Each resource is described by a resource element, which is then described by additional elements (described below). These resources are used to complete the jar file or to run unit test.

Parameters:
resources -

setTestResources

public void setTestResources(java.util.List testResources)
Set This element describes all of the resources associated with a project's unit tests. Each resource is described by a resource element, which is then described by additional elements (described below). These resources are used to complete the jar file or to run unit test.

Parameters:
testResources -

setModelEncoding

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

getModelEncoding

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


Copyright 2006 Apache Software Foundation. All Rights Reserved.