public class PushOptionsImpl extends AbstractPushPullOptionsImpl<PushOptions> implements PushOptions
Modifier and Type | Field and Description |
---|---|
static String |
fileTypeHelp |
locales, PROJECT_TYPE_FILE
Constructor and Description |
---|
PushOptionsImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getCaseSensitive() |
int |
getChunkSize() |
String |
getCommandDescription()
Used to generate CLI usage help.
|
String |
getCommandName()
Used to generate the command line interface and its usage help.
|
boolean |
getCopyTrans() |
boolean |
getDefaultExcludes() |
boolean |
getDeleteObsoleteModules() |
boolean |
getExcludeLocaleFilenames() |
com.google.common.collect.ImmutableList<String> |
getFileTypes() |
boolean |
getListFileTypes() |
String |
getMergeType() |
PushPullType |
getPushType() |
String |
getSourceLang() |
String |
getValidate() |
ZanataCommand |
initCommand() |
boolean |
isCopyTrans() |
boolean |
isMyTrans() |
void |
setCaseSensitive(boolean caseSensitive) |
void |
setChunkSize(int chunkSize) |
void |
setCopyTrans(boolean copyTrans) |
void |
setDefaultExcludes(boolean defaultExcludes) |
void |
setExcludeLocaleFilenames(boolean excludeLocaleFilenames) |
void |
setFileTypes(String fileTypes) |
void |
setListFileTypes(boolean listFileTypes) |
void |
setLocales(String locales) |
void |
setMergeType(String mergeType) |
void |
setMyTrans(boolean myTrans) |
void |
setPushType(String pushType) |
void |
setSourceLang(String sourceLang) |
void |
setValidate(String validate) |
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, 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
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, isAuthRequired, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername
getCommandHooks, getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
public static final String fileTypeHelp
public ZanataCommand initCommand()
initCommand
in interface BasicOptions
public String getCommandName()
BasicOptions
getCommandName
in interface BasicOptions
public String getCommandDescription()
BasicOptions
getCommandDescription
in interface BasicOptions
public String getSourceLang()
getSourceLang
in interface PushOptions
public void setSourceLang(String sourceLang)
public void setLocales(String locales)
public boolean getCopyTrans()
getCopyTrans
in interface PushOptions
public boolean isCopyTrans()
public void setCopyTrans(boolean copyTrans)
public String getMergeType()
getMergeType
in interface PushOptions
public void setMergeType(String mergeType)
public PushPullType getPushType()
getPushType
in interface PushOptions
public void setPushType(String pushType)
public boolean getDefaultExcludes()
getDefaultExcludes
in interface PushOptions
public void setDefaultExcludes(boolean defaultExcludes)
public boolean getDeleteObsoleteModules()
getDeleteObsoleteModules
in interface PushOptions
public int getChunkSize()
getChunkSize
in interface PushOptions
public void setChunkSize(int chunkSize)
public com.google.common.collect.ImmutableList<String> getFileTypes()
getFileTypes
in interface PushOptions
public void setFileTypes(String fileTypes)
public boolean getListFileTypes()
getListFileTypes
in interface PushOptions
public void setListFileTypes(boolean listFileTypes)
public boolean getCaseSensitive()
getCaseSensitive
in interface PushOptions
public void setCaseSensitive(boolean caseSensitive)
public boolean getExcludeLocaleFilenames()
getExcludeLocaleFilenames
in interface PushOptions
public void setExcludeLocaleFilenames(boolean excludeLocaleFilenames)
@Nonnull public String getValidate()
getValidate
in interface PushOptions
public void setValidate(String validate)
public boolean isMyTrans()
isMyTrans
in interface PushOptions
public void setMyTrans(boolean myTrans)
Copyright © 2018 Zanata Project. All rights reserved.