public class Plugin extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Plugin.PluginBuilder
A builder of plugins.
|
| Modifier | Constructor and Description |
|---|---|
|
Plugin() |
protected |
Plugin(org.apache.maven.model.Plugin plugin) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getArtifactId()
Retrieves the plugin artifact id.
|
org.codehaus.plexus.util.xml.Xpp3Dom |
getConfiguration() |
List<Dependency> |
getDependencies()
Retrieves the plugin dependencies.
|
List<PluginExecution> |
getExecutions()
Retrieves the plugin executions.
|
String |
getExtensions()
Retrieves the plugin extensions field.
|
String |
getGroupId()
Retrieves the plugin group id.
|
protected org.apache.maven.model.Plugin |
getInnerModel()
Retrieves the plugin model represented by a maven core object.
|
String |
getVersion()
Retrieves the plugin version or valid range of versions.
|
int |
hashCode() |
void |
setArtifactId(String artifactId) |
void |
setDependencies(List<Dependency> dependencies)
Sets the plugin dependencies.
|
boolean |
setExecutions(List<PluginExecution> executions)
Sets the plugin executions.
|
void |
setExtensions(String extensions)
Sets the plugin extensions field.
|
void |
setGroupId(String groupId)
Sets the plugin group id.
|
void |
setVersion(String version)
Sets the plugin version or valid range of versions.
|
protected Plugin(org.apache.maven.model.Plugin plugin)
public Plugin()
protected org.apache.maven.model.Plugin getInnerModel()
Pluginpublic void setArtifactId(String artifactId)
public void setGroupId(String groupId)
groupId - public String getVersion()
Stringpublic void setVersion(String version)
version - public List<Dependency> getDependencies()
Listpublic void setDependencies(List<Dependency> dependencies)
dependencies - public List<PluginExecution> getExecutions()
Listpublic boolean setExecutions(List<PluginExecution> executions)
executions - public String getExtensions()
Stringpublic void setExtensions(String extensions)
extensions - public org.codehaus.plexus.util.xml.Xpp3Dom getConfiguration()
Copyright © 2018 MuleSoft Inc. All rights reserved.