org.efaps.maven.plugin.install
Class AbstractEFapsInstallMojo

java.lang.Object
  extended by org.efaps.maven.plugin.EFapsAbstractMojo
      extended by org.efaps.maven.plugin.install.AbstractEFapsInstallMojo
All Implemented Interfaces:
org.apache.maven.plugin.Mojo
Direct Known Subclasses:
GenerateInstallationMojo, InstallMojo, SourceInstallMojo, SourceUpdateMojo, UpdateMojo

public abstract class AbstractEFapsInstallMojo
extends EFapsAbstractMojo

Version:
$Id: AbstractEFapsInstallMojo.java 5482 2010-08-31 21:54:08Z jan.moxter $
Author:
The eFaps Team

Field Summary
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractEFapsInstallMojo()
           
 
Method Summary
protected  java.lang.String getApplications()
          Returns the applications to install / update.
protected  java.io.File getEFapsDir()
          Getter method for instance variable eFapsDir.
protected  java.util.List<java.lang.String> getFiles()
          Uses the includes and excludes together with the root directory eFapsDir to get all related and matched files.
protected  java.io.File getOutputDirectory()
          Getter method for the instance variable outputDirectory.
protected  java.util.Map<java.lang.String,java.lang.String> getTypeMapping()
          this method return the TypeMapping for import and update.
protected  java.io.File getVersionFile()
          Getter method for instance variable versionFile.
 
Methods inherited from class org.efaps.maven.plugin.EFapsAbstractMojo
abortTransaction, commitTransaction, convertToMap, getClasspathElements, getLog, getPassWord, getUserName, init, reloadCache, setLog, startTransaction
 
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
execute
 

Constructor Detail

AbstractEFapsInstallMojo

public AbstractEFapsInstallMojo()
Method Detail

getOutputDirectory

protected java.io.File getOutputDirectory()
Getter method for the instance variable outputDirectory.

Returns:
value of instance variable outputDirectory

getFiles

protected java.util.List<java.lang.String> getFiles()
Uses the includes and excludes together with the root directory eFapsDir to get all related and matched files.

Returns:
Array of filename
See Also:
defines includes; if not specified by maven, the default value is **/*.xml, defines excludes; if not specified by maven , the default value is **/version.xml, DEFAULT_INCLUDES, DEFAULT_EXCLUDES

getApplications

protected java.lang.String getApplications()
Returns the applications to install / update.

Returns:
applications
See Also:
applications

getEFapsDir

protected java.io.File getEFapsDir()
Getter method for instance variable eFapsDir.

Returns:
value of instance variable eFapsDir
See Also:
eFapsDir

getTypeMapping

protected java.util.Map<java.lang.String,java.lang.String> getTypeMapping()
this method return the TypeMapping for import and update. The mapping can be defined in the pom.xml with the parameter typeMapping. In the case that the mapping is not defined in the pom.xml a default DEFAULT_TYPE_MAPPING will be returned.

Returns:
Map containing the mapping of file extension to type
See Also:
typeMapping, DEFAULT_TYPE_MAPPING

getVersionFile

protected java.io.File getVersionFile()
Getter method for instance variable versionFile.

Returns:
value of instance variable versionFile
See Also:
versionFile


Copyright © 2002-2010 The eFaps Team. All Rights Reserved.