public class MavenPluginImpl extends Object implements MavenPlugin
Constructor and Description |
---|
MavenPluginImpl() |
MavenPluginImpl(MavenPlugin plugin) |
Modifier and Type | Method and Description |
---|---|
void |
addExecution(Execution execution) |
void |
addPluginDependency(Dependency dependency) |
Configuration |
getConfig()
Returns the
Configuration associated with this plugin, if any. |
Coordinate |
getCoordinate()
Returns the
Coordinate represented by this plugin. |
List<Dependency> |
getDirectDependencies() |
boolean |
isExtensionsEnabled() |
List<Execution> |
listExecutions()
Return the list of
Execution associated with this plugin, if any. |
void |
setConfiguration(Configuration configuration) |
void |
setCoordinate(Coordinate coordinate) |
void |
setExtenstions(boolean extenstions) |
String |
toString() |
public MavenPluginImpl()
public MavenPluginImpl(MavenPlugin plugin)
public Coordinate getCoordinate()
MavenPlugin
Coordinate
represented by this plugin.getCoordinate
in interface MavenPlugin
public void setCoordinate(Coordinate coordinate)
public Configuration getConfig()
MavenPlugin
Configuration
associated with this plugin, if any. (Never null.)getConfig
in interface MavenPlugin
public List<Execution> listExecutions()
MavenPlugin
Execution
associated with this plugin, if any.listExecutions
in interface MavenPlugin
public boolean isExtensionsEnabled()
isExtensionsEnabled
in interface MavenPlugin
public List<Dependency> getDirectDependencies()
getDirectDependencies
in interface MavenPlugin
public void setConfiguration(Configuration configuration)
public void addExecution(Execution execution)
public void setExtenstions(boolean extenstions)
public void addPluginDependency(Dependency dependency)
Copyright © 2014 JBoss by Red Hat. All rights reserved.