public abstract class AbstractPushPullOptionsImpl<O extends PushPullOptions> extends ConfigurableProjectOptionsImpl implements PushPullOptions
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
locales |
protected static String |
PROJECT_TYPE_FILE |
| Constructor and Description |
|---|
AbstractPushPullOptionsImpl() |
| Modifier and Type | Method and Description |
|---|---|
String |
buildFromDocArgument(String argValue)
This name should represent the exact parameter as it would be entered on the command line, and include
any space or operators that would link the parameter to the argument.
|
Set<String> |
getAllModules() |
String |
getCurrentModule() |
String |
getCurrentModule(boolean canonicalName) |
String |
getDocNameRegex()
A regex for document names, which captures the module ID as group 1 and the unqualified docname as group 2.
|
boolean |
getEnableModules() |
String |
getFromDoc() |
LocaleList |
getLocaleMapList()
Override the parent method as the push and pull
commands can have locales specified via command line.
|
String |
getModuleSuffix()
Character or characters which must appear after moduleIDs when constructing qualified document names
|
File |
getSrcDir() |
String |
getSrcDirParameterName() |
File |
getTransDir() |
boolean |
isDryRun() |
boolean |
isRootModule() |
void |
setDryRun(boolean dryRun) |
void |
setFromDoc(String fromDoc) |
void |
setSrcDir(File file) |
void |
setTransDir(File transDir) |
getProj, getProjectConfig, getProjectType, getProjectVersion, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersiongetKey, getLogHttp, getUrl, getUserConfig, getUsername, setKey, setLogHttp, setUrl, setUserConfig, setUsernamegetDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setBatchMode, setDebug, setErrors, setHelp, setInteractiveMode, setQuietclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProj, getProjectConfig, getProjectType, getProjectVersion, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersiongetKey, getLogHttp, getUrl, getUserConfig, getUsername, 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 String[] locales
public LocaleList getLocaleMapList()
getLocaleMapList in interface ConfigurableProjectOptionsgetLocaleMapList in class ConfigurableProjectOptionsImplpublic File getSrcDir()
getSrcDir in interface PushPullOptionspublic void setSrcDir(File file)
public String getSrcDirParameterName()
getSrcDirParameterName in interface PushPullOptionspublic File getTransDir()
getTransDir in interface PushPullOptionspublic void setTransDir(File transDir)
public String getFromDoc()
getFromDoc in interface PushPullOptionspublic String buildFromDocArgument(String argValue)
PushPullOptionsbuildFromDocArgument in interface PushPullOptionspublic void setFromDoc(String fromDoc)
public boolean isDryRun()
isDryRun in interface PushPullOptionspublic void setDryRun(boolean dryRun)
public boolean getEnableModules()
getEnableModules in interface PushPullOptionspublic String getDocNameRegex()
PushPullOptionsgetDocNameRegex in interface PushPullOptionspublic String getModuleSuffix()
PushPullOptionsgetModuleSuffix in interface PushPullOptionspublic boolean isRootModule()
isRootModule in interface PushPullOptionspublic String getCurrentModule()
getCurrentModule in interface PushPullOptionspublic String getCurrentModule(boolean canonicalName)
getCurrentModule in interface PushPullOptionscanonicalName - true if the module name should be in the canonical format used by mavenpublic Set<String> getAllModules()
getAllModules in interface PushPullOptionsCopyright © 2013 Zanata Project. All Rights Reserved.