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, setTransDir
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isAuthRequired, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername
getCommandHooks, getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setBatchMode, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSrcDir, getTransDir
getExcludes, getFileMappingRules, getIncludes, getProj, getProjectConfig, getProjectType, getProjectVersion, setExcludes, setFileMappingRules, setIncludes, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion, setSrcDir, setTransDir
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isAuthRequired, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername
getCommandDescription, getCommandHooks, getCommandName, getDebug, getErrors, getHelp, getQuiet, initCommand, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
protected static final String PROJECT_TYPE_FILE
protected String[] locales
public LocaleList getLocaleMapList()
getLocaleMapList
in interface ConfigurableProjectOptions
getLocaleMapList
in class ConfigurableProjectOptionsImpl
public String getSrcDirParameterName()
getSrcDirParameterName
in interface PushPullOptions
public String getFromDoc()
getFromDoc
in interface PushPullOptions
public String buildFromDocArgument(String argValue)
PushPullOptions
buildFromDocArgument
in interface PushPullOptions
public void setFromDoc(String fromDoc)
public boolean isDryRun()
isDryRun
in interface PushPullOptions
public void setDryRun(boolean dryRun)
public boolean getEnableModules()
getEnableModules
in interface PushPullOptions
public String getDocNameRegex()
PushPullOptions
getDocNameRegex
in interface PushPullOptions
public String getModuleSuffix()
PushPullOptions
getModuleSuffix
in interface PushPullOptions
public boolean isRootModule()
isRootModule
in interface PushPullOptions
public String getCurrentModule()
getCurrentModule
in interface PushPullOptions
public String getCurrentModule(boolean canonicalName)
getCurrentModule
in interface PushPullOptions
canonicalName
- true if the module name should be in the canonical format used
by mavenpublic com.google.common.collect.ImmutableSet<String> getAllModules()
getAllModules
in interface PushPullOptions
Copyright © 2016 Zanata Project. All rights reserved.