org.codehaus.mojo.license
Class LicenseListMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.license.AbstractLicenseMojo
          extended by org.codehaus.mojo.license.LicenseListMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class LicenseListMojo
extends AbstractLicenseMojo

Display all available licenses.

Since:
1.0
Author:
tchemit

Field Summary
protected  LicenseStore licenseStore
          store of licenses
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
LicenseListMojo()
           
 
Method Summary
 void doAction()
          Do plugin action.
 String getExtraResolver()
           
protected  void init()
          Method to initialize the mojo before doing any concrete actions.
 boolean isDetail()
           
 void setDetail(boolean detail)
           
 void setExtraResolver(String extraResolver)
           
 
Methods inherited from class org.codehaus.mojo.license.AbstractLicenseMojo
acceptPackaging, addResourceDir, afterExecute, checkEncoding, checkPackaging, checkSkip, execute, getBuildTimestamp, getEncoding, getProject, getSession, hasClassPath, isVerbose, rejectPackaging, setEncoding, setProject, setSession, setVerbose
 
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
 

Field Detail

licenseStore

protected LicenseStore licenseStore
store of licenses

Constructor Detail

LicenseListMojo

public LicenseListMojo()
Method Detail

init

protected void init()
             throws Exception
Description copied from class: AbstractLicenseMojo
Method to initialize the mojo before doing any concrete actions.

Note: The method is invoked before the AbstractLicenseMojo.doAction() method.

Specified by:
init in class AbstractLicenseMojo
Throws:
Exception - if any

doAction

public void doAction()
              throws org.apache.maven.plugin.MojoExecutionException,
                     org.apache.maven.plugin.MojoFailureException
Description copied from class: AbstractLicenseMojo
Do plugin action.

The method AbstractLicenseMojo.execute() invoke this method only and only if :

Specified by:
doAction in class AbstractLicenseMojo
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

getExtraResolver

public String getExtraResolver()

isDetail

public boolean isDetail()

setExtraResolver

public void setExtraResolver(String extraResolver)

setDetail

public void setDetail(boolean detail)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.