org.efaps.maven.plugin.install
Class AbstractEFapsInstallMojo
java.lang.Object
org.efaps.maven.plugin.EFapsAbstractMojo
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 3650 2010-01-20 22:07:28Z jan.moxter $
- Author:
- The eFaps Team
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
| 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 |
AbstractEFapsInstallMojo
public AbstractEFapsInstallMojo()
getFiles
protected 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.