public class Build extends BuildBase implements Serializable, Cloneable
<build>
element contains
informations required to build the project.Constructor and Description |
---|
Build() |
Modifier and Type | Method and Description |
---|---|
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.
|
addFilter, addResource, addTestResource, getDefaultGoal, getDirectory, getFilters, getFinalName, getResources, getTestResources, removeFilter, removeResource, removeTestResource, setDefaultGoal, setDirectory, setFilters, setFinalName, setResources, setTestResources
getPluginManagement, setPluginManagement
addPlugin, flushPluginMap, getLocation, getPlugins, getPluginsAsMap, removePlugin, setLocation, setPlugins
public Build()
public void addExtension(Extension extension)
extension
- 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
- Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.