|
||||||||||
| 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
public class Plugin
null
| Constructor Summary | |
|---|---|
Plugin()
|
|
| Method Summary | |
|---|---|
void |
addDependency(Dependency dependency)
Method addDependency |
void |
addExecution(PluginExecution pluginExecution)
Method addExecution |
static java.lang.String |
constructKey(java.lang.String groupId,
java.lang.String artifactId)
|
boolean |
equals(java.lang.Object other)
|
void |
flushExecutionMap()
|
java.lang.String |
getArtifactId()
Get The artifact ID of the plugin in the repository. |
java.util.List |
getDependencies()
Method getDependencies |
java.util.List |
getExecutions()
Method getExecutions |
java.util.Map |
getExecutionsAsMap()
|
java.lang.Object |
getGoals()
Get Deprecated. |
java.lang.String |
getGroupId()
Get The group ID of the plugin in the repository. |
java.lang.String |
getKey()
|
java.lang.String |
getModelEncoding()
|
java.lang.String |
getVersion()
Get The version (or valid range of verisons) 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(java.lang.String artifactId)
Set The artifact ID of the plugin in the repository. |
void |
setDependencies(java.util.List dependencies)
Set Additional dependencies that this project needs to introduce to the plugin's classloader. |
void |
setExecutions(java.util.List executions)
Set Multiple specifications of a set of goals to execute during the build lifecycle, each having (possibly) different configuration. |
void |
setExtensions(boolean extensions)
Set Whether to load Maven extensions (such as packaging and type handlers) from this plugin. |
void |
setGoals(java.lang.Object goals)
Set Deprecated. |
void |
setGroupId(java.lang.String groupId)
Set The group ID of the plugin in the repository. |
void |
setModelEncoding(java.lang.String modelEncoding)
|
void |
setVersion(java.lang.String version)
Set The version (or valid range of verisons) of the plugin to be used. |
java.lang.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 java.lang.String getArtifactId()
public java.util.List getDependencies()
public java.util.List getExecutions()
public java.lang.Object getGoals()
public java.lang.String getGroupId()
public java.lang.String getVersion()
public boolean isExtensions()
public void removeDependency(Dependency dependency)
dependency - public void removeExecution(PluginExecution pluginExecution)
pluginExecution - public void setArtifactId(java.lang.String artifactId)
artifactId - public void setDependencies(java.util.List dependencies)
dependencies - public void setExecutions(java.util.List executions)
executions - public void setExtensions(boolean extensions)
extensions - public void setGoals(java.lang.Object goals)
goals - public void setGroupId(java.lang.String groupId)
groupId - public void setVersion(java.lang.String version)
version - public void flushExecutionMap()
public java.util.Map getExecutionsAsMap()
public java.lang.String getKey()
public static java.lang.String constructKey(java.lang.String groupId,
java.lang.String artifactId)
public boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic void setModelEncoding(java.lang.String modelEncoding)
setModelEncoding in class ConfigurationContainerpublic java.lang.String getModelEncoding()
getModelEncoding in class ConfigurationContainer
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||