|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.model.PluginContainer org.apache.maven.model.PluginConfiguration org.apache.maven.model.BuildBase org.apache.maven.model.Build
public class Build
The <build>
element contains
informations required to build the project.
Constructor Summary | |
---|---|
Build()
|
Method Summary | |
---|---|
void |
addExtension(Extension extension)
Method addExtension. |
Build |
clone()
Method clone. |
List<Extension> |
getExtensions()
Method getExtensions. |
String |
getOutputDirectory()
Get the directory where compiled application classes are placed. |
String |
getScriptSourceDirectory()
Get this element specifies a directory containing the script sources of the project. |
String |
getSourceDirectory()
Get this element specifies a directory containing the source of the project. |
String |
getTestOutputDirectory()
Get the directory where compiled test classes are placed. |
String |
getTestSourceDirectory()
Get this element specifies a directory containing the unit test source of the project. |
void |
removeExtension(Extension extension)
Method removeExtension. |
void |
setExtensions(List<Extension> extensions)
Set a set of build extensions to use from this project. |
void |
setOutputDirectory(String outputDirectory)
Set the directory where compiled application classes are placed. |
void |
setScriptSourceDirectory(String scriptSourceDirectory)
Set this element specifies a directory containing the script sources of the project. |
void |
setSourceDirectory(String sourceDirectory)
Set this element specifies a directory containing the source of the project. |
void |
setTestOutputDirectory(String testOutputDirectory)
Set the directory where compiled test classes are placed. |
void |
setTestSourceDirectory(String testSourceDirectory)
Set this element specifies a directory containing the unit test source of the project. |
Methods inherited from class org.apache.maven.model.BuildBase |
---|
addFilter, addResource, addTestResource, getDefaultGoal, getDirectory, getFilters, getFinalName, getResources, getTestResources, removeFilter, removeResource, removeTestResource, setDefaultGoal, setDirectory, setFilters, setFinalName, setResources, setTestResources |
Methods inherited from class org.apache.maven.model.PluginConfiguration |
---|
getPluginManagement, setPluginManagement |
Methods inherited from class org.apache.maven.model.PluginContainer |
---|
addPlugin, flushPluginMap, getLocation, getPlugins, getPluginsAsMap, removePlugin, setLocation, setPlugins |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Build()
Method Detail |
---|
public void addExtension(Extension extension)
extension
- public Build clone()
clone
in class BuildBase
public List<Extension> getExtensions()
public String getOutputDirectory()
public String getScriptSourceDirectory()
public String getSourceDirectory()
public String getTestOutputDirectory()
public String getTestSourceDirectory()
public void removeExtension(Extension extension)
extension
- public void setExtensions(List<Extension> extensions)
extensions
- public void setOutputDirectory(String outputDirectory)
outputDirectory
- public void setScriptSourceDirectory(String scriptSourceDirectory)
scriptSourceDirectory
- public void setSourceDirectory(String sourceDirectory)
sourceDirectory
- public void setTestOutputDirectory(String testOutputDirectory)
testOutputDirectory
- public void setTestSourceDirectory(String testSourceDirectory)
testSourceDirectory
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |