public class MavenPluginAdapter extends org.apache.maven.model.Plugin implements MavenPlugin
Plugin
and MavenPlugin
Constructor and Description |
---|
MavenPluginAdapter(MavenPlugin mavenPlugin) |
MavenPluginAdapter(org.apache.maven.model.Plugin plugin) |
Modifier and Type | Method and Description |
---|---|
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 |
setConfig(Configuration configuration) |
addDependency, addExecution, clone, constructKey, equals, flushExecutionMap, getArtifactId, getDependencies, getExecutions, getExecutionsAsMap, getExtensions, getGoals, getGroupId, getId, getKey, getVersion, hashCode, isExtensions, removeDependency, removeExecution, setArtifactId, setDependencies, setExecutions, setExtensions, setExtensions, setGoals, setGroupId, setVersion, toString
public MavenPluginAdapter(MavenPlugin mavenPlugin)
public MavenPluginAdapter(org.apache.maven.model.Plugin plugin)
public List<Execution> listExecutions()
MavenPlugin
Execution
associated with this plugin, if any.listExecutions
in interface MavenPlugin
public Configuration getConfig()
MavenPlugin
Configuration
associated with this plugin, if any. (Never null.)getConfig
in interface MavenPlugin
public Coordinate getCoordinate()
MavenPlugin
Coordinate
represented by this plugin.getCoordinate
in interface MavenPlugin
public boolean isExtensionsEnabled()
isExtensionsEnabled
in interface MavenPlugin
public List<Dependency> getDirectDependencies()
getDirectDependencies
in interface MavenPlugin
public void setConfig(Configuration configuration)
Copyright © 2017 JBoss by Red Hat. All rights reserved.