|
||||||||||
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 org.apache.maven.project.overlay.BuildOverlay
public class BuildOverlay
Constructor Summary | |
---|---|
BuildOverlay(Build build)
|
Method Summary | |
---|---|
void |
addExtension(Extension extension)
Method addExtension. |
void |
addFilter(String string)
Method addFilter. |
void |
addPlugin(Plugin plugin)
Method addPlugin. |
void |
addResource(Resource resource)
Method addResource. |
void |
addTestResource(Resource resource)
Method addTestResource. |
boolean |
equals(Object obj)
|
void |
flushPluginMap()
Reset the pluginsMap field to null |
String |
getDefaultGoal()
Get the default goal (or phase in Maven 2) to execute when none is specified for the project. |
String |
getDirectory()
Get the directory where all files generated by the build are placed. |
List |
getExtensions()
Method getExtensions. |
List |
getFilters()
Method getFilters. |
String |
getFinalName()
Get the filename (excluding the extension, and with no path information) that the produced artifact will be called. |
String |
getOutputDirectory()
Get the directory where compiled application classes are placed. |
PluginManagement |
getPluginManagement()
Get default plugin information to be made available for reference by projects derived from this one. |
List |
getPlugins()
Method getPlugins. |
Map |
getPluginsAsMap()
|
List |
getResources()
Method getResources. |
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. |
List |
getTestResources()
Method getTestResources. |
String |
getTestSourceDirectory()
Get this element specifies a directory containing the unit test source of the project. |
int |
hashCode()
|
void |
removeExtension(Extension extension)
Method removeExtension. |
void |
removeFilter(String string)
Method removeFilter. |
void |
removePlugin(Plugin plugin)
Method removePlugin. |
void |
removeResource(Resource resource)
Method removeResource. |
void |
removeTestResource(Resource resource)
Method removeTestResource. |
void |
setDefaultGoal(String defaultGoal)
Set the default goal (or phase in Maven 2) to execute when none is specified for the project. |
void |
setDirectory(String directory)
Set the directory where all files generated by the build are placed. |
void |
setExtensions(List extensions)
Set a set of build extensions to use from this project. |
void |
setFilters(List filters)
Set the list of filter properties files that are used when filtering is enabled. |
void |
setFinalName(String finalName)
Set the filename (excluding the extension, and with no path information) that the produced artifact will be called. |
void |
setOutputDirectory(String outputDirectory)
Set the directory where compiled application classes are placed. |
void |
setPluginManagement(PluginManagement pluginManagement)
Set default plugin information to be made available for reference by projects derived from this one. |
void |
setPlugins(List plugins)
Set the list of plugins to use. |
void |
setResources(List resources)
Set this element describes all of the classpath resources such as properties files associated with a project. |
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 |
setTestResources(List testResources)
Set this element describes all of the classpath resources such as properties files associated with a project's unit tests. |
void |
setTestSourceDirectory(String testSourceDirectory)
Set this element specifies a directory containing the unit test source of the project. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BuildOverlay(Build build)
Method Detail |
---|
public void addExtension(Extension extension)
Build
addExtension
in class Build
public void addPlugin(Plugin plugin)
PluginContainer
addPlugin
in class PluginContainer
public void addResource(Resource resource)
BuildBase
addResource
in class BuildBase
public void addTestResource(Resource resource)
BuildBase
addTestResource
in class BuildBase
public boolean equals(Object obj)
equals
in class Object
public void flushPluginMap()
PluginContainer
pluginsMap
field to null
flushPluginMap
in class PluginContainer
public String getDefaultGoal()
BuildBase
getDefaultGoal
in class BuildBase
public String getDirectory()
BuildBase
getDirectory
in class BuildBase
public List getExtensions()
Build
getExtensions
in class Build
public String getFinalName()
BuildBase
${artifactId}-${version}
.
getFinalName
in class BuildBase
public String getOutputDirectory()
Build
getOutputDirectory
in class Build
public PluginManagement getPluginManagement()
PluginConfiguration
getPluginManagement
in class PluginConfiguration
public List getPlugins()
PluginContainer
getPlugins
in class PluginContainer
public Map getPluginsAsMap()
getPluginsAsMap
in class PluginContainer
Plugins#getKey()
as keyPlugin.getKey()
public List getResources()
BuildBase
getResources
in class BuildBase
public String getScriptSourceDirectory()
Build
getScriptSourceDirectory
in class Build
public String getSourceDirectory()
Build
getSourceDirectory
in class Build
public String getTestOutputDirectory()
Build
getTestOutputDirectory
in class Build
public List getTestResources()
BuildBase
getTestResources
in class BuildBase
public String getTestSourceDirectory()
Build
getTestSourceDirectory
in class Build
public int hashCode()
hashCode
in class Object
public void removeExtension(Extension extension)
Build
removeExtension
in class Build
public void removePlugin(Plugin plugin)
PluginContainer
removePlugin
in class PluginContainer
public void removeResource(Resource resource)
BuildBase
removeResource
in class BuildBase
public void removeTestResource(Resource resource)
BuildBase
removeTestResource
in class BuildBase
public void setDefaultGoal(String defaultGoal)
BuildBase
setDefaultGoal
in class BuildBase
public void setDirectory(String directory)
BuildBase
setDirectory
in class BuildBase
public void setExtensions(List extensions)
Build
setExtensions
in class Build
public void setFinalName(String finalName)
BuildBase
${artifactId}-${version}
.
setFinalName
in class BuildBase
public void setOutputDirectory(String outputDirectory)
Build
setOutputDirectory
in class Build
public void setPluginManagement(PluginManagement pluginManagement)
PluginConfiguration
setPluginManagement
in class PluginConfiguration
public void setPlugins(List plugins)
PluginContainer
setPlugins
in class PluginContainer
public void setResources(List resources)
BuildBase
setResources
in class BuildBase
public void setScriptSourceDirectory(String scriptSourceDirectory)
Build
setScriptSourceDirectory
in class Build
public void setSourceDirectory(String sourceDirectory)
Build
setSourceDirectory
in class Build
public void setTestOutputDirectory(String testOutputDirectory)
Build
setTestOutputDirectory
in class Build
public void setTestResources(List testResources)
BuildBase
setTestResources
in class BuildBase
public void setTestSourceDirectory(String testSourceDirectory)
Build
setTestSourceDirectory
in class Build
public String toString()
toString
in class Object
public void addFilter(String string)
BuildBase
addFilter
in class BuildBase
public List getFilters()
BuildBase
getFilters
in class BuildBase
public void removeFilter(String string)
BuildBase
removeFilter
in class BuildBase
public void setFilters(List filters)
BuildBase
setFilters
in class BuildBase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |