public class JDomPlugin extends org.apache.maven.model.Plugin implements MavenCoordinate
Constructor and Description |
---|
JDomPlugin(org.jdom2.Element plugin)
Constructor for JDomPlugin.
|
Modifier and Type | Method and Description |
---|---|
void |
addDependency(org.apache.maven.model.Dependency dependency) |
void |
addExecution(org.apache.maven.model.PluginExecution pluginExecution) |
void |
flushExecutionMap() |
String |
getArtifactId()
getArtifactId.
|
List<org.apache.maven.model.Dependency> |
getDependencies() |
List<org.apache.maven.model.PluginExecution> |
getExecutions() |
Map<String,org.apache.maven.model.PluginExecution> |
getExecutionsAsMap() |
Object |
getGoals() |
String |
getGroupId()
getGroupId.
|
String |
getName()
getName.
|
String |
getVersion()
getVersion.
|
boolean |
isExtensions() |
void |
removeDependency(org.apache.maven.model.Dependency dependency) |
void |
removeExecution(org.apache.maven.model.PluginExecution pluginExecution) |
void |
setArtifactId(String artifactId) |
void |
setDependencies(List<org.apache.maven.model.Dependency> dependencies) |
void |
setExecutions(List<org.apache.maven.model.PluginExecution> executions) |
void |
setExtensions(boolean extensions) |
void |
setGoals(Object goals) |
void |
setGroupId(String groupId) |
void |
setVersion(String version)
setVersion.
|
clone, constructKey, equals, getExtensions, getId, getKey, hashCode, setExtensions, toString
public JDomPlugin(org.jdom2.Element plugin)
Constructor for JDomPlugin.
plugin
- a Element
objectpublic void addDependency(org.apache.maven.model.Dependency dependency)
addDependency
in class org.apache.maven.model.Plugin
public void addExecution(org.apache.maven.model.PluginExecution pluginExecution)
addExecution
in class org.apache.maven.model.Plugin
public String getArtifactId()
MavenCoordinate
getArtifactId.
getArtifactId
in interface MavenCoordinate
getArtifactId
in class org.apache.maven.model.Plugin
String
objectpublic List<org.apache.maven.model.Dependency> getDependencies()
getDependencies
in class org.apache.maven.model.Plugin
public List<org.apache.maven.model.PluginExecution> getExecutions()
getExecutions
in class org.apache.maven.model.Plugin
public Object getGoals()
getGoals
in class org.apache.maven.model.Plugin
public String getGroupId()
MavenCoordinate
getGroupId.
getGroupId
in interface MavenCoordinate
getGroupId
in class org.apache.maven.model.Plugin
String
objectpublic String getVersion()
MavenCoordinate
getVersion.
getVersion
in interface MavenCoordinate
getVersion
in class org.apache.maven.model.Plugin
String
objectpublic boolean isExtensions()
isExtensions
in class org.apache.maven.model.Plugin
public void removeDependency(org.apache.maven.model.Dependency dependency)
removeDependency
in class org.apache.maven.model.Plugin
public void removeExecution(org.apache.maven.model.PluginExecution pluginExecution)
removeExecution
in class org.apache.maven.model.Plugin
public void setArtifactId(String artifactId)
setArtifactId
in class org.apache.maven.model.Plugin
public void setDependencies(List<org.apache.maven.model.Dependency> dependencies)
setDependencies
in class org.apache.maven.model.Plugin
public void setExecutions(List<org.apache.maven.model.PluginExecution> executions)
setExecutions
in class org.apache.maven.model.Plugin
public void setExtensions(boolean extensions)
setExtensions
in class org.apache.maven.model.Plugin
public void setGoals(Object goals)
setGoals
in class org.apache.maven.model.Plugin
public void setGroupId(String groupId)
setGroupId
in class org.apache.maven.model.Plugin
public void setVersion(String version)
MavenCoordinate
setVersion.
setVersion
in interface MavenCoordinate
setVersion
in class org.apache.maven.model.Plugin
version
- a String
objectpublic void flushExecutionMap()
flushExecutionMap
in class org.apache.maven.model.Plugin
public Map<String,org.apache.maven.model.PluginExecution> getExecutionsAsMap()
getExecutionsAsMap
in class org.apache.maven.model.Plugin
public String getName()
MavenCoordinate
getName.
getName
in interface MavenCoordinate
String
objectCopyright © 2002–2024 The Apache Software Foundation. All rights reserved.