Forge - Maven API 2.0.0.Alpha3

org.jboss.forge.maven.plugins
Class MavenPluginImpl

java.lang.Object
  extended by org.jboss.forge.maven.plugins.MavenPluginImpl
All Implemented Interfaces:
MavenPlugin, PluginElement

public class MavenPluginImpl
extends Object
implements MavenPlugin

Author:
Paul Bakker

Constructor Summary
MavenPluginImpl()
           
MavenPluginImpl(MavenPlugin plugin)
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MavenPluginImpl

public MavenPluginImpl()

MavenPluginImpl

public MavenPluginImpl(MavenPlugin plugin)
Method Detail

getCoordinate

public Coordinate getCoordinate()
Description copied from interface: MavenPlugin
Returns the Coordinate represented by this plugin

Specified by:
getCoordinate in interface MavenPlugin

setCoordinate

public void setCoordinate(Coordinate coordinate)

getConfig

public Configuration getConfig()
Description copied from interface: MavenPlugin
Returns the Configuration associated with this plugin, if any

Specified by:
getConfig in interface MavenPlugin

listExecutions

public List<Execution> listExecutions()
Description copied from interface: MavenPlugin
Return the list of Execution associated with this plugin, if any

Specified by:
listExecutions in interface MavenPlugin

isExtensionsEnabled

public boolean isExtensionsEnabled()
Specified by:
isExtensionsEnabled in interface MavenPlugin
Returns:
if this plugin extensions is enabled

getDirectDependencies

public List<Dependency> getDirectDependencies()
Specified by:
getDirectDependencies in interface MavenPlugin
Returns:
the dependencies for this plugin, if any

toString

public String toString()
Overrides:
toString in class Object

setConfiguration

public void setConfiguration(Configuration configuration)

addExecution

public void addExecution(Execution execution)

setExtenstions

public void setExtenstions(boolean extenstions)

addPluginDependency

public void addPluginDependency(Dependency dependency)

Forge - Maven API 2.0.0.Alpha3

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.