|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.maven.model.ConfigurationContainer
org.apache.maven.model.Plugin
The <plugin> element contains
informations required for a plugin.
| Constructor Summary | |
Plugin()
|
|
| Method Summary | |
void |
addDependency(Dependency dependency)
Method addDependency |
void |
addExecution(PluginExecution pluginExecution)
Method addExecution |
static String |
constructKey(String groupId,
String artifactId)
|
boolean |
equals(Object other)
|
void |
flushExecutionMap()
Reset the executionMap field to null |
String |
getArtifactId()
Get The artifact ID of the plugin in the repository. |
List |
getDependencies()
Method getDependencies |
List |
getExecutions()
Method getExecutions |
Map |
getExecutionsAsMap()
|
Object |
getGoals()
Get Deprecated. |
String |
getGroupId()
Get The group ID of the plugin in the repository. |
String |
getKey()
|
String |
getModelEncoding()
|
String |
getVersion()
Get The version (or valid range of versions) of the plugin to be used. |
int |
hashCode()
|
boolean |
isExtensions()
Get Whether to load Maven extensions (such as packaging and type handlers) from this plugin. |
void |
removeDependency(Dependency dependency)
Method removeDependency |
void |
removeExecution(PluginExecution pluginExecution)
Method removeExecution |
void |
setArtifactId(String artifactId)
Set The artifact ID of the plugin in the repository. |
void |
setDependencies(List dependencies)
Set Additional dependencies that this project needs to introduce to the plugin's classloader. |
void |
setExecutions(List executions)
Set Multiple specifications of a set of goals to execute during the build lifecycle, each having (possibly) a different configuration. |
void |
setExtensions(boolean extensions)
Set Whether to load Maven extensions (such as packaging and type handlers) from this plugin. |
void |
setGoals(Object goals)
Set Deprecated. |
void |
setGroupId(String groupId)
Set The group ID of the plugin in the repository. |
void |
setModelEncoding(String modelEncoding)
|
void |
setVersion(String version)
Set The version (or valid range of versions) of the plugin to be used. |
String |
toString()
|
| Methods inherited from class org.apache.maven.model.ConfigurationContainer |
getConfiguration, getInherited, isInheritanceApplied, setConfiguration, setInherited, unsetInheritanceApplied |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Plugin()
| Method Detail |
public void addDependency(Dependency dependency)
dependency - public void addExecution(PluginExecution pluginExecution)
pluginExecution - public String getArtifactId()
public List getDependencies()
public List getExecutions()
public Object getGoals()
public String getGroupId()
public String getVersion()
public boolean isExtensions()
public void removeDependency(Dependency dependency)
dependency - public void removeExecution(PluginExecution pluginExecution)
pluginExecution - public void setArtifactId(String artifactId)
artifactId - public void setDependencies(List dependencies)
dependencies - public void setExecutions(List executions)
executions - public void setExtensions(boolean extensions)
extensions - public void setGoals(Object goals)
goals - public void setGroupId(String groupId)
groupId - public void setVersion(String version)
version - public void flushExecutionMap()
executionMap field to null
public Map getExecutionsAsMap()
PluginExecution#getId() as keyPluginExecution.getId()public String getKey()
groupId:artifactId
public static String constructKey(String groupId,
String artifactId)
groupId - artifactId -
groupId:artifactIdpublic boolean equals(Object other)
Object.equals(java.lang.Object)public int hashCode()
Object.hashCode()public String toString()
Object.toString()public void setModelEncoding(String modelEncoding)
setModelEncoding in class ConfigurationContainerpublic String getModelEncoding()
getModelEncoding in class ConfigurationContainer
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||