public abstract class AbstractPushPullMojo<O extends PushPullOptions> extends ConfigurableProjectMojo<O> implements PushPullOptions
| Modifier and Type | Field and Description |
|---|---|
protected static String |
PROJECT_TYPE_FILE |
| Constructor and Description |
|---|
AbstractPushPullMojo() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildFromDocArgument(String argValue) |
Set<String> |
getAllModules() |
String |
getCurrentModule() |
String |
getCurrentModule(boolean canonicalName) |
String |
getDocNameRegex() |
String |
getFromDoc() |
LocaleList |
getLocaleMapList()
Override the default
ConfigurableProjectMojo.getLocaleMapList() method as the push
command can have locales specified via command line. |
String |
getModuleSuffix() |
File |
getSrcDir() |
String |
getSrcDirParameterName() |
File |
getTransDir() |
boolean |
isDryRun() |
boolean |
isRootModule() |
protected void |
runCommand() |
getProj, getProjectConfig, getProjectType, getProjectVersion, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersionexecute, getCommandDescription, getDebug, getErrors, getHelp, getKey, getLogHttp, getQuiet, getUrl, getUserConfig, getUsername, initCommand, isDebugSet, isDisableSSLCert, isErrorsSet, isInteractiveMode, isQuietSet, setDebug, setDisableSSLCert, setErrors, setHelp, setInteractiveMode, setKey, setLogHttp, setQuiet, setUrl, setUserConfig, setUsernamegetLog, getPluginContext, setLog, setPluginContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetEnableModulesgetProj, getProjectConfig, getProjectType, getProjectVersion, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersiongetKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsernamegetCommandDescription, getCommandName, getDebug, getErrors, getHelp, getQuiet, initCommand, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setDebug, setErrors, setHelp, setInteractiveMode, setQuietprotected static final String PROJECT_TYPE_FILE
protected void runCommand()
throws Exception
runCommand in class ConfigurableMojo<O extends PushPullOptions>Exceptionpublic boolean isRootModule()
isRootModule in interface PushPullOptionspublic String getCurrentModule()
getCurrentModule in interface PushPullOptionspublic String getCurrentModule(boolean canonicalName)
getCurrentModule in interface PushPullOptionspublic String getModuleSuffix()
getModuleSuffix in interface PushPullOptionspublic String getDocNameRegex()
getDocNameRegex in interface PushPullOptionspublic Set<String> getAllModules()
getAllModules in interface PushPullOptionspublic boolean isDryRun()
isDryRun in interface PushPullOptionspublic File getSrcDir()
getSrcDir in interface PushPullOptionspublic String getSrcDirParameterName()
getSrcDirParameterName in interface PushPullOptionspublic File getTransDir()
getTransDir in interface PushPullOptionspublic String getFromDoc()
getFromDoc in interface PushPullOptionspublic String buildFromDocArgument(String argValue)
buildFromDocArgument in interface PushPullOptionspublic LocaleList getLocaleMapList()
ConfigurableProjectMojo.getLocaleMapList() method as the push
command can have locales specified via command line.getLocaleMapList in interface ConfigurableProjectOptionsgetLocaleMapList in class ConfigurableProjectMojo<O extends PushPullOptions>Copyright © 2010-2013 Zanata Project. All Rights Reserved.