org.nuiton.license.plugin
Class AbstractLicenseMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.plugin.AbstractPlugin
          extended by org.nuiton.license.plugin.AbstractLicenseMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.nuiton.plugin.Plugin
Direct Known Subclasses:
AbstractAddThirdPartyMojo, AbstractLicenseWithDescriptorMojo, CommentStyleListMojo, LicenseListMojo

public abstract class AbstractLicenseMojo
extends org.nuiton.plugin.AbstractPlugin

Abstract license mojo.

Since:
2.1
Author:
tchemit

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.nuiton.plugin.Plugin
org.nuiton.plugin.Plugin.InitState, org.nuiton.plugin.Plugin.Packaging
 
Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractLicenseMojo()
           
 
Method Summary
protected  LicenseStore createLicenseStore(String... extraResolver)
           
 long getBuildTimestamp()
           
 String getEncoding()
           
 org.apache.maven.project.MavenProject getProject()
           
 org.apache.maven.execution.MavenSession getSession()
           
protected  boolean hasClassPath()
           
 boolean isVerbose()
           
 void setEncoding(String encoding)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 void setSession(org.apache.maven.execution.MavenSession session)
           
 void setVerbose(boolean verbose)
           
 
Methods inherited from class org.nuiton.plugin.AbstractPlugin
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkPackaging, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, doAction, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, init, initClassLoader, isExecutionRoot, isFileNewerThanPomFile, rejectPackaging, removeCompileSourceRoots, removeTestCompileSourceRoots, renameFile, writeFile
 
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
 
Methods inherited from interface org.apache.maven.plugin.Mojo
getLog, setLog
 

Constructor Detail

AbstractLicenseMojo

public AbstractLicenseMojo()
Method Detail

getProject

public final org.apache.maven.project.MavenProject getProject()

setProject

public final void setProject(org.apache.maven.project.MavenProject project)

isVerbose

public final boolean isVerbose()

setVerbose

public final void setVerbose(boolean verbose)

getEncoding

public final String getEncoding()

setEncoding

public final void setEncoding(String encoding)

getSession

public final org.apache.maven.execution.MavenSession getSession()

setSession

public final void setSession(org.apache.maven.execution.MavenSession session)

getBuildTimestamp

public final long getBuildTimestamp()

createLicenseStore

protected LicenseStore createLicenseStore(String... extraResolver)
                                   throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException

hasClassPath

protected boolean hasClassPath()


Copyright © 2008-2010 CodeLutin. All Rights Reserved.