public class PullOptionsImpl extends AbstractPushPullOptionsImpl<PullOptions> implements PullOptions
locales, PROJECT_TYPE_FILE
Constructor and Description |
---|
PullOptionsImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getApprovedOnly() |
File |
getCacheDir() |
String |
getCommandDescription()
Used to generate CLI usage help.
|
String |
getCommandName()
Used to generate the command line interface and its usage help.
|
boolean |
getCreateSkeletons() |
boolean |
getEncodeTabs() |
boolean |
getIncludeFuzzy() |
int |
getMinDocPercent() |
PushPullType |
getPullType() |
boolean |
getPurgeCache() |
boolean |
getUseCache() |
ZanataCommand |
initCommand() |
boolean |
isAuthRequired()
Use to disable check for presence of username and API key before running command.
|
boolean |
isContinueAfterError() |
void |
setApprovedOnly(boolean approved) |
void |
setCacheDir(File cacheDir) |
void |
setContinueAfterError(boolean continueAfterError) |
void |
setCreateSkeletons(boolean createSkeletons) |
void |
setEncodeTabs(boolean encodeTabs) |
void |
setIncludeFuzzy(boolean includeFuzzy) |
void |
setLocales(String locales) |
void |
setMinDocPercent(int minDocPercent) |
void |
setPullType(String pullType) |
void |
setPurgeCache(boolean purgeCache) |
void |
setUseCache(boolean useCache) |
buildFromDocArgument, getAllModules, getCurrentModule, getCurrentModule, getDocNameRegex, getEnableModules, getFromDoc, getLocaleMapList, getModuleSuffix, getSrcDirParameterName, isDryRun, isRootModule, setDryRun, setFromDoc
getExcludes, getFileMappingRules, getIncludes, getProj, getProjectConfig, getProjectType, getProjectVersion, getSrcDir, getTransDir, setExcludes, setFileMappingRules, setIncludes, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion, setSrcDir, setTransDir
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername
getCommandHooks, getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isInteractiveModeSet, isQuietSet, setBatchMode, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
buildFromDocArgument, getAllModules, getCurrentModule, getCurrentModule, getDocNameRegex, getEnableModules, getFromDoc, getModuleSuffix, getSrcDir, getSrcDirParameterName, getTransDir, isDryRun, isRootModule
getExcludes, getFileMappingRules, getIncludes, getLocaleMapList, getProj, getProjectConfig, getProjectType, getProjectVersion, setExcludes, setFileMappingRules, setIncludes, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion, setSrcDir, setTransDir
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername
getCommandHooks, getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isInteractiveModeSet, isQuietSet, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
public ZanataCommand initCommand()
initCommand
in interface BasicOptions
public String getCommandName()
BasicOptions
getCommandName
in interface BasicOptions
public String getCommandDescription()
BasicOptions
getCommandDescription
in interface BasicOptions
public void setLocales(String locales)
public PushPullType getPullType()
getPullType
in interface PullOptions
public void setPullType(String pullType)
public boolean getCreateSkeletons()
getCreateSkeletons
in interface PullOptions
public void setCreateSkeletons(boolean createSkeletons)
public boolean getApprovedOnly()
getApprovedOnly
in interface PullOptions
public void setApprovedOnly(boolean approved)
public boolean getEncodeTabs()
getEncodeTabs
in interface PullOptions
public void setEncodeTabs(boolean encodeTabs)
public boolean getIncludeFuzzy()
getIncludeFuzzy
in interface PullOptions
public void setIncludeFuzzy(boolean includeFuzzy)
public boolean getPurgeCache()
getPurgeCache
in interface PullOptions
public boolean getUseCache()
getUseCache
in interface PullOptions
public void setContinueAfterError(boolean continueAfterError)
public boolean isContinueAfterError()
isContinueAfterError
in interface PullOptions
public int getMinDocPercent()
getMinDocPercent
in interface PullOptions
public void setMinDocPercent(int minDocPercent)
public boolean isAuthRequired()
ConfigurableOptions
isAuthRequired
in interface ConfigurableOptions
isAuthRequired
in class ConfigurableOptionsImpl
public void setUseCache(boolean useCache)
public void setPurgeCache(boolean purgeCache)
public void setCacheDir(File cacheDir)
public File getCacheDir()
getCacheDir
in interface PullOptions
Copyright © 2018 Zanata Project. All rights reserved.