public class JDomBuild
extends org.apache.maven.model.Build
Constructor and Description |
---|
JDomBuild(org.jdom2.Element build)
Constructor for JDomBuild.
|
Modifier and Type | Method and Description |
---|---|
void |
addExtension(org.apache.maven.model.Extension extension) |
void |
addFilter(String string) |
void |
addPlugin(org.apache.maven.model.Plugin plugin) |
void |
addResource(org.apache.maven.model.Resource resource) |
void |
addTestResource(org.apache.maven.model.Resource resource) |
void |
flushPluginMap() |
String |
getDefaultGoal() |
String |
getDirectory() |
List<org.apache.maven.model.Extension> |
getExtensions() |
List<String> |
getFilters() |
String |
getFinalName() |
String |
getOutputDirectory() |
org.apache.maven.model.PluginManagement |
getPluginManagement() |
List<org.apache.maven.model.Plugin> |
getPlugins() |
Map<String,org.apache.maven.model.Plugin> |
getPluginsAsMap() |
List<org.apache.maven.model.Resource> |
getResources() |
String |
getScriptSourceDirectory() |
String |
getSourceDirectory() |
String |
getTestOutputDirectory() |
List<org.apache.maven.model.Resource> |
getTestResources() |
String |
getTestSourceDirectory() |
void |
removeExtension(org.apache.maven.model.Extension extension) |
void |
removeFilter(String string) |
void |
removePlugin(org.apache.maven.model.Plugin plugin) |
void |
removeResource(org.apache.maven.model.Resource resource) |
void |
removeTestResource(org.apache.maven.model.Resource resource) |
void |
setDefaultGoal(String defaultGoal) |
void |
setDirectory(String directory) |
void |
setExtensions(List<org.apache.maven.model.Extension> extensions) |
void |
setFilters(List<String> filters) |
void |
setFinalName(String finalName) |
void |
setOutputDirectory(String outputDirectory) |
void |
setPluginManagement(org.apache.maven.model.PluginManagement pluginManagement) |
void |
setPlugins(List<org.apache.maven.model.Plugin> plugins) |
void |
setResources(List<org.apache.maven.model.Resource> resources) |
void |
setScriptSourceDirectory(String scriptSourceDirectory) |
void |
setSourceDirectory(String sourceDirectory) |
void |
setTestOutputDirectory(String testOutputDirectory) |
void |
setTestResources(List<org.apache.maven.model.Resource> testResources) |
void |
setTestSourceDirectory(String testSourceDirectory) |
public JDomBuild(org.jdom2.Element build)
Constructor for JDomBuild.
build
- a Element
objectpublic void addExtension(org.apache.maven.model.Extension extension)
addExtension
in class org.apache.maven.model.Build
public List<org.apache.maven.model.Extension> getExtensions()
getExtensions
in class org.apache.maven.model.Build
public String getOutputDirectory()
getOutputDirectory
in class org.apache.maven.model.Build
public String getScriptSourceDirectory()
getScriptSourceDirectory
in class org.apache.maven.model.Build
public String getSourceDirectory()
getSourceDirectory
in class org.apache.maven.model.Build
public String getTestOutputDirectory()
getTestOutputDirectory
in class org.apache.maven.model.Build
public String getTestSourceDirectory()
getTestSourceDirectory
in class org.apache.maven.model.Build
public void removeExtension(org.apache.maven.model.Extension extension)
removeExtension
in class org.apache.maven.model.Build
public void setExtensions(List<org.apache.maven.model.Extension> extensions)
setExtensions
in class org.apache.maven.model.Build
public void setOutputDirectory(String outputDirectory)
setOutputDirectory
in class org.apache.maven.model.Build
public void setScriptSourceDirectory(String scriptSourceDirectory)
setScriptSourceDirectory
in class org.apache.maven.model.Build
public void setSourceDirectory(String sourceDirectory)
setSourceDirectory
in class org.apache.maven.model.Build
public void setTestOutputDirectory(String testOutputDirectory)
setTestOutputDirectory
in class org.apache.maven.model.Build
public void setTestSourceDirectory(String testSourceDirectory)
setTestSourceDirectory
in class org.apache.maven.model.Build
public void addFilter(String string)
addFilter
in class org.apache.maven.model.BuildBase
public void addResource(org.apache.maven.model.Resource resource)
addResource
in class org.apache.maven.model.BuildBase
public void addTestResource(org.apache.maven.model.Resource resource)
addTestResource
in class org.apache.maven.model.BuildBase
public String getDefaultGoal()
getDefaultGoal
in class org.apache.maven.model.BuildBase
public String getDirectory()
getDirectory
in class org.apache.maven.model.BuildBase
public List<String> getFilters()
getFilters
in class org.apache.maven.model.BuildBase
public String getFinalName()
getFinalName
in class org.apache.maven.model.BuildBase
public List<org.apache.maven.model.Resource> getResources()
getResources
in class org.apache.maven.model.BuildBase
public List<org.apache.maven.model.Resource> getTestResources()
getTestResources
in class org.apache.maven.model.BuildBase
public void removeFilter(String string)
removeFilter
in class org.apache.maven.model.BuildBase
public void removeResource(org.apache.maven.model.Resource resource)
removeResource
in class org.apache.maven.model.BuildBase
public void removeTestResource(org.apache.maven.model.Resource resource)
removeTestResource
in class org.apache.maven.model.BuildBase
public void setDefaultGoal(String defaultGoal)
setDefaultGoal
in class org.apache.maven.model.BuildBase
public void setDirectory(String directory)
setDirectory
in class org.apache.maven.model.BuildBase
public void setFilters(List<String> filters)
setFilters
in class org.apache.maven.model.BuildBase
public void setFinalName(String finalName)
setFinalName
in class org.apache.maven.model.BuildBase
public void setResources(List<org.apache.maven.model.Resource> resources)
setResources
in class org.apache.maven.model.BuildBase
public void setTestResources(List<org.apache.maven.model.Resource> testResources)
setTestResources
in class org.apache.maven.model.BuildBase
public org.apache.maven.model.PluginManagement getPluginManagement()
getPluginManagement
in class org.apache.maven.model.PluginConfiguration
public void setPluginManagement(org.apache.maven.model.PluginManagement pluginManagement)
setPluginManagement
in class org.apache.maven.model.PluginConfiguration
public void addPlugin(org.apache.maven.model.Plugin plugin)
addPlugin
in class org.apache.maven.model.PluginContainer
public List<org.apache.maven.model.Plugin> getPlugins()
getPlugins
in class org.apache.maven.model.PluginContainer
public void removePlugin(org.apache.maven.model.Plugin plugin)
removePlugin
in class org.apache.maven.model.PluginContainer
public void setPlugins(List<org.apache.maven.model.Plugin> plugins)
setPlugins
in class org.apache.maven.model.PluginContainer
public void flushPluginMap()
flushPluginMap
in class org.apache.maven.model.PluginContainer
Copyright © 2002–2024 The Apache Software Foundation. All rights reserved.