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.
|
com.google.common.collect.ImmutableSet<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
|
String |
getSrcDirParameterName() |
boolean |
isDryRun() |
boolean |
isRootModule() |
void |
setDryRun(boolean dryRun) |
void |
setFromDoc(String fromDoc) |
getExcludes, getFileMappingRules, getIncludes, getProj, getProjectConfig, getProjectType, getProjectVersion, getSrcDir, getTransDir, setExcludes, setFileMappingRules, setIncludes, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion, setSrcDir, setTransDirgetKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsernamegetCommandHooks, getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setBatchMode, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuietclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetSrcDir, getTransDirgetExcludes, getFileMappingRules, getIncludes, getProj, getProjectConfig, getProjectType, getProjectVersion, setExcludes, setFileMappingRules, setIncludes, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion, setSrcDir, setTransDirgetKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsernamegetCommandDescription, getCommandHooks, getCommandName, getDebug, getErrors, getHelp, getQuiet, initCommand, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuietprotected static final String PROJECT_TYPE_FILE
protected String[] locales
public LocaleList getLocaleMapList()
getLocaleMapList in interface ConfigurableProjectOptionsgetLocaleMapList in class ConfigurableProjectOptionsImplpublic String getSrcDirParameterName()
getSrcDirParameterName in interface PushPullOptionspublic 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 com.google.common.collect.ImmutableSet<String> getAllModules()
getAllModules in interface PushPullOptionsCopyright © 2014 Zanata Project. All Rights Reserved.