org.nuiton.plugin
Class AbstractAvailableDataMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nuiton.plugin.AbstractAvailableDataMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public abstract class AbstractAvailableDataMojo
- extends org.apache.maven.plugin.AbstractMojo
Abstract mojo used to display AbstractAvailableDataMojo.AvailableData in a simple way.
Created: 10/05/11
- Since:
- 1.3
- Author:
- fdesbois
$Id: AbstractAvailableDataMojo.java 814 2011-05-10 22:07:16Z tchemit $
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractAvailableDataMojo
public AbstractAvailableDataMojo()
execute
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
appendData
protected void appendData(AbstractAvailableDataMojo.AvailableData data,
StringBuilder buffer)
- Append a
data to the given buffer.
- Parameters:
data - AvailableData to appendbuffer - StringBuilder to use
getAllAvailableDatas
protected abstract Collection<AbstractAvailableDataMojo.AvailableData> getAllAvailableDatas()
- Retrieve the Collection of all AvailableData to display.
- Returns:
- the Collection of all
AbstractAvailableDataMojo.AvailableData.
Copyright © 2009-2012 CodeLutin. All Rights Reserved.