org.zanata.client.commands.push
Class PushOptionsImpl
java.lang.Object
org.zanata.client.commands.BasicOptionsImpl
org.zanata.client.commands.ConfigurableOptionsImpl
org.zanata.client.commands.ConfigurableProjectOptionsImpl
org.zanata.client.commands.AbstractPushPullOptionsImpl<PushOptions>
org.zanata.client.commands.push.PushOptionsImpl
- All Implemented Interfaces:
- BasicOptions, ConfigurableOptions, ConfigurableProjectOptions, PushOptions, PushPullOptions
public class PushOptionsImpl
- extends AbstractPushPullOptionsImpl<PushOptions>
- implements PushOptions
- Author:
- Sean Flanigan sflaniga@redhat.com
| Methods inherited from class org.zanata.client.commands.AbstractPushPullOptionsImpl |
buildFromDocArgument, getAllModules, getCurrentModule, getCurrentModule, getDocNameRegex, getEnableModules, getFromDoc, getLocaleMapList, getModuleSuffix, getSrcDir, getSrcDirParameterName, getTransDir, isDryRun, isRootModule, setDryRun, setFromDoc, setSrcDir, setTransDir |
| Methods inherited from class org.zanata.client.commands.ConfigurableOptionsImpl |
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername |
| Methods inherited from class org.zanata.client.commands.BasicOptionsImpl |
getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setBatchMode, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.zanata.client.commands.PushPullOptions |
buildFromDocArgument, getAllModules, getCurrentModule, getCurrentModule, getDocNameRegex, getEnableModules, getFromDoc, getModuleSuffix, getSrcDir, getSrcDirParameterName, getTransDir, isDryRun, isRootModule |
| Methods inherited from interface org.zanata.client.commands.ConfigurableOptions |
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername |
| Methods inherited from interface org.zanata.client.commands.BasicOptions |
getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet |
PushOptionsImpl
public PushOptionsImpl()
initCommand
public ZanataCommand initCommand()
- Specified by:
initCommand in interface BasicOptions
getCommandName
public String getCommandName()
- Description copied from interface:
BasicOptions
- Used to generate the command line interface and its usage help. This name
should match the Maven Mojo's 'goal' annotation and must match the @SubCommand
name in ZanataClient.
- Specified by:
getCommandName in interface BasicOptions
- Returns:
getCommandDescription
public String getCommandDescription()
- Description copied from interface:
BasicOptions
- Used to generate CLI usage help. This description should preferably match
the Maven Mojo's Javadoc description.
- Specified by:
getCommandDescription in interface BasicOptions
- Returns:
getSourceLang
public String getSourceLang()
- Specified by:
getSourceLang in interface PushOptions
setSourceLang
public void setSourceLang(String sourceLang)
setLocales
public void setLocales(String locales)
getCopyTrans
public boolean getCopyTrans()
- Specified by:
getCopyTrans in interface PushOptions
isCopyTrans
public boolean isCopyTrans()
setCopyTrans
public void setCopyTrans(boolean copyTrans)
getMergeType
public String getMergeType()
- Specified by:
getMergeType in interface PushOptions
setMergeType
public void setMergeType(String mergeType)
getPushType
public PushPullType getPushType()
- Specified by:
getPushType in interface PushOptions
setPushType
public void setPushType(String pushType)
getIncludes
public List<String> getIncludes()
- Specified by:
getIncludes in interface PushOptions
setIncludes
public void setIncludes(String includes)
getExcludes
public List<String> getExcludes()
- Specified by:
getExcludes in interface PushOptions
setExcludes
public void setExcludes(String excludes)
getDefaultExcludes
public boolean getDefaultExcludes()
- Specified by:
getDefaultExcludes in interface PushOptions
setDefaultExcludes
public void setDefaultExcludes(boolean defaultExcludes)
getDeleteObsoleteModules
public boolean getDeleteObsoleteModules()
- Specified by:
getDeleteObsoleteModules in interface PushOptions
getChunkSize
public int getChunkSize()
- Specified by:
getChunkSize in interface PushOptions
setChunkSize
public void setChunkSize(int chunkSize)
getFileTypes
public List<String> getFileTypes()
- Specified by:
getFileTypes in interface PushOptions
setFileTypes
public void setFileTypes(String fileTypes)
getCaseSensitive
public boolean getCaseSensitive()
- Specified by:
getCaseSensitive in interface PushOptions
setCaseSensitive
public void setCaseSensitive(boolean caseSensitive)
getExcludeLocaleFilenames
public boolean getExcludeLocaleFilenames()
- Specified by:
getExcludeLocaleFilenames in interface PushOptions
setExcludeLocaleFilenames
public void setExcludeLocaleFilenames(boolean excludeLocaleFilenames)
getValidate
public String getValidate()
- Specified by:
getValidate in interface PushOptions
setValidate
public void setValidate(String validate)
Copyright © 2013 Zanata Project. All Rights Reserved.