public class PluginDescriptor extends Object implements Serializable
plugin.xml
file.Constructor and Description |
---|
PluginDescriptor() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(Dependency dependency)
Method addDependency.
|
void |
addMojo(MojoDescriptor mojoDescriptor)
Method addMojo.
|
String |
getArtifactId()
Get the artifact id of the plugin.
|
List<Dependency> |
getDependencies()
Method getDependencies.
|
String |
getDescription()
Get description of the plugin.
|
String |
getGoalPrefix()
Get the goalPrefix field.
|
String |
getGroupId()
Get the group id of the plugin.
|
String |
getModelEncoding()
Get the modelEncoding field.
|
List<MojoDescriptor> |
getMojos()
Method getMojos.
|
String |
getVersion()
Get the version of the plugin.
|
boolean |
isInheritedByDefault()
Get the inheritedByDefault field.
|
boolean |
isIsolatedRealm()
Get the isolatedRealm field.
|
void |
removeDependency(Dependency dependency)
Method removeDependency.
|
void |
removeMojo(MojoDescriptor mojoDescriptor)
Method removeMojo.
|
void |
setArtifactId(String artifactId)
Set the artifact id of the plugin.
|
void |
setDependencies(List<Dependency> dependencies)
Set a set of dependencies which the plugin requires in order
to function.
|
void |
setDescription(String description)
Set description of the plugin.
|
void |
setGoalPrefix(String goalPrefix)
Set the goalPrefix field.
|
void |
setGroupId(String groupId)
Set the group id of the plugin.
|
void |
setInheritedByDefault(boolean inheritedByDefault)
Set the inheritedByDefault field.
|
void |
setIsolatedRealm(boolean isolatedRealm)
Set the isolatedRealm field.
|
void |
setModelEncoding(String modelEncoding)
Set the modelEncoding field.
|
void |
setMojos(List<MojoDescriptor> mojos)
Set description of each Mojo provided by the plugin.
|
void |
setVersion(String version)
Set the version of the plugin.
|
public PluginDescriptor()
public void addDependency(Dependency dependency)
dependency
- public void addMojo(MojoDescriptor mojoDescriptor)
mojoDescriptor
- public String getArtifactId()
public List<Dependency> getDependencies()
public String getDescription()
public String getGoalPrefix()
public String getGroupId()
public String getModelEncoding()
public List<MojoDescriptor> getMojos()
public String getVersion()
public boolean isInheritedByDefault()
public boolean isIsolatedRealm()
public void removeDependency(Dependency dependency)
dependency
- public void removeMojo(MojoDescriptor mojoDescriptor)
mojoDescriptor
- public void setArtifactId(String artifactId)
artifactId
- public void setDependencies(List<Dependency> dependencies)
dependencies
- public void setDescription(String description)
description
- public void setGoalPrefix(String goalPrefix)
goalPrefix
- public void setGroupId(String groupId)
groupId
- public void setInheritedByDefault(boolean inheritedByDefault)
inheritedByDefault
- public void setIsolatedRealm(boolean isolatedRealm)
isolatedRealm
- public void setModelEncoding(String modelEncoding)
modelEncoding
- public void setMojos(List<MojoDescriptor> mojos)
mojos
- public void setVersion(String version)
version
- Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.