org.zanata.client.commands.pull
Class PullOptionsImpl
java.lang.Object
org.zanata.client.commands.BasicOptionsImpl
org.zanata.client.commands.ConfigurableOptionsImpl
org.zanata.client.commands.ConfigurableProjectOptionsImpl
org.zanata.client.commands.AbstractPushPullOptionsImpl<PullOptions>
org.zanata.client.commands.pull.PullOptionsImpl
- All Implemented Interfaces:
- BasicOptions, ConfigurableOptions, ConfigurableProjectOptions, PullOptions, PushPullOptions
public class PullOptionsImpl
- extends AbstractPushPullOptionsImpl<PullOptions>
- implements PullOptions
- 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 |
PullOptionsImpl
public PullOptionsImpl()
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:
setLocales
public void setLocales(String locales)
getPullType
public PushPullType getPullType()
- Specified by:
getPullType in interface PullOptions
setPullType
public void setPullType(String pullType)
getCreateSkeletons
public boolean getCreateSkeletons()
- Specified by:
getCreateSkeletons in interface PullOptions
setCreateSkeletons
public void setCreateSkeletons(boolean createSkeletons)
getEncodeTabs
public boolean getEncodeTabs()
- Specified by:
getEncodeTabs in interface PullOptions
setEncodeTabs
public void setEncodeTabs(boolean encodeTabs)
getIncludeFuzzy
public boolean getIncludeFuzzy()
- Specified by:
getIncludeFuzzy in interface PullOptions
setIncludeFuzzy
public void setIncludeFuzzy(boolean includeFuzzy)
getPurgeCache
public boolean getPurgeCache()
- Specified by:
getPurgeCache in interface PullOptions
getUseCache
public boolean getUseCache()
- Specified by:
getUseCache in interface PullOptions
setContinueAfterError
public void setContinueAfterError(boolean continueAfterError)
isContinueAfterError
public boolean isContinueAfterError()
- Specified by:
isContinueAfterError in interface PullOptions
Copyright © 2013 Zanata Project. All Rights Reserved.