org.zanata.client.commands.pull
Class PullOptionsImpl

java.lang.Object
  extended by org.zanata.client.commands.BasicOptionsImpl
      extended by org.zanata.client.commands.ConfigurableOptionsImpl
          extended by org.zanata.client.commands.ConfigurableProjectOptionsImpl
              extended by org.zanata.client.commands.AbstractPushPullOptionsImpl<PullOptions>
                  extended by 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

Field Summary
 
Fields inherited from class org.zanata.client.commands.AbstractPushPullOptionsImpl
locales, PROJECT_TYPE_FILE
 
Constructor Summary
PullOptionsImpl()
           
 
Method Summary
 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()
           
 PushPullType getPullType()
           
 boolean getPurgeCache()
           
 boolean getUseCache()
           
 ZanataCommand initCommand()
           
 boolean isContinueAfterError()
           
 void setContinueAfterError(boolean continueAfterError)
           
 void setCreateSkeletons(boolean createSkeletons)
           
 void setEncodeTabs(boolean encodeTabs)
           
 void setIncludeFuzzy(boolean includeFuzzy)
           
 void setLocales(String locales)
           
 void setPullType(String pullType)
           
 
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.ConfigurableProjectOptionsImpl
getProj, getProjectConfig, getProjectType, getProjectVersion, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion
 
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.ConfigurableProjectOptions
getLocaleMapList, getProj, getProjectConfig, getProjectType, getProjectVersion, setLocaleMapList, setProj, setProjectConfig, setProjectType, setProjectVersion
 
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
 

Constructor Detail

PullOptionsImpl

public PullOptionsImpl()
Method Detail

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.