org.nuiton.wikitty.plugin
Class AbstractWPMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.nuiton.plugin.AbstractPlugin
          extended by org.nuiton.wikitty.plugin.AbstractWPMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, org.nuiton.plugin.Plugin
Direct Known Subclasses:
AbstractWPLoadDependencyMojo, WPCleanMojo, WPInitMojo

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

Abstract mojo for all mojos of the WP module.

Since:
3.2
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
static String APPLICATION_DIR_NAME
           
protected  String applicationName
          The mandatory application name.
static String IMAGES_RESOURCES_DIR_NAME
           
static String JAR_RESOURCES_DIR_NAME
           
static String MAIN_DIR_NAME
           
protected  org.apache.maven.project.MavenProject project
          Project.
static String RESOURCES_DIR_NAME
           
static String SRC_DIR_NAME
           
protected  boolean verbose
          A flag to activate verbose mode.
protected  String wikittyServiceUrl
          The mandatory wikitty service url.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractWPMojo()
           
 
Method Summary
 String getApplicationName()
           
 org.apache.maven.project.MavenProject getProject()
           
 String getWikittyServiceUrl()
           
 boolean isVerbose()
           
 void setApplicationName(String applicationName)
           
 void setProject(org.apache.maven.project.MavenProject project)
           
 void setVerbose(boolean verbose)
           
 void setWikittyServiceUrl(String wikittyServiceUrl)
           
 
Methods inherited from class org.nuiton.plugin.AbstractPlugin
acceptPackaging, addCompileSourceRoots, addDirectoryToUrlsList, addResourceDir, addTestCompileSourceRoots, addTestResourceDir, addUrlToUrlsList, afterExecute, backupFile, checkEncoding, checkPackaging, checkResource, checkRunOnceDone, checkSkip, copyFile, createDirectoryIfNecessary, createNewFile, deleteFile, doAction, execute, getBackupFile, getFileFromBasedir, getFilesToTreate, getFilesToTreateForRoots, getRootProject, getTemplate, hasClassPath, 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
 

Field Detail

SRC_DIR_NAME

public static final String SRC_DIR_NAME
See Also:
Constant Field Values

MAIN_DIR_NAME

public static final String MAIN_DIR_NAME
See Also:
Constant Field Values

APPLICATION_DIR_NAME

public static final String APPLICATION_DIR_NAME
See Also:
Constant Field Values

RESOURCES_DIR_NAME

public static final String RESOURCES_DIR_NAME
See Also:
Constant Field Values

IMAGES_RESOURCES_DIR_NAME

public static final String IMAGES_RESOURCES_DIR_NAME
See Also:
Constant Field Values

JAR_RESOURCES_DIR_NAME

public static final String JAR_RESOURCES_DIR_NAME
See Also:
Constant Field Values

project

protected org.apache.maven.project.MavenProject project
Project.

Since:
3.2
Is defined by:
default-value:
${project}
Is readonly.
Is required.

verbose

protected boolean verbose
A flag to activate verbose mode.

Is defined by:
expression:
${wp.verbose}
default-value:
${maven.verbose}

applicationName

protected String applicationName
The mandatory application name.

Is defined by:
expression:
${wp.applicationName}
Is required.

wikittyServiceUrl

protected String wikittyServiceUrl
The mandatory wikitty service url.

Is defined by:
expression:
${wp.wikittyServiceUrl}
Is required.
Constructor Detail

AbstractWPMojo

public AbstractWPMojo()
Method Detail

getProject

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

setProject

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

isVerbose

public boolean isVerbose()

setVerbose

public void setVerbose(boolean verbose)

getApplicationName

public String getApplicationName()

setApplicationName

public void setApplicationName(String applicationName)

getWikittyServiceUrl

public String getWikittyServiceUrl()

setWikittyServiceUrl

public void setWikittyServiceUrl(String wikittyServiceUrl)


Copyright © 2011 CodeLutin. All Rights Reserved.