org.zanata.client.commands
Class ConfigurableProjectOptionsImpl

java.lang.Object
  extended by org.zanata.client.commands.BasicOptionsImpl
      extended by org.zanata.client.commands.ConfigurableOptionsImpl
          extended by org.zanata.client.commands.ConfigurableProjectOptionsImpl
All Implemented Interfaces:
BasicOptions, ConfigurableOptions, ConfigurableProjectOptions
Direct Known Subclasses:
AbstractPushPullOptionsImpl, GetStatisticsOptionsImpl, ListLocalOptionsImpl, ListRemoteOptionsImpl, PublicanPullOptionsImpl, PublicanPushOptionsImpl

public abstract class ConfigurableProjectOptionsImpl
extends ConfigurableOptionsImpl
implements ConfigurableProjectOptions

Base options for commands which supports configuration by the user's zanata.ini and by a project's zanata.xml

Author:
Sean Flanigan

Constructor Summary
ConfigurableProjectOptionsImpl()
           
 
Method Summary
 LocaleList getLocaleMapList()
           
 String getProj()
           
 File getProjectConfig()
           
 String getProjectType()
           
 String getProjectVersion()
           
 void setLocaleMapList(LocaleList locales)
           
 void setProj(String projectSlug)
           
 void setProjectConfig(File projectConfig)
           
 void setProjectType(String projectType)
           
 void setProjectVersion(String versionSlug)
           
 
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.ConfigurableOptions
getKey, getLogHttp, getUrl, getUserConfig, getUsername, isDisableSSLCert, setDisableSSLCert, setKey, setLogHttp, setUrl, setUserConfig, setUsername
 
Methods inherited from interface org.zanata.client.commands.BasicOptions
getCommandDescription, getCommandName, getDebug, getErrors, getHelp, getQuiet, initCommand, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
 

Constructor Detail

ConfigurableProjectOptionsImpl

public ConfigurableProjectOptionsImpl()
Method Detail

getProj

public String getProj()
Specified by:
getProj in interface ConfigurableProjectOptions

setProj

public void setProj(String projectSlug)
Specified by:
setProj in interface ConfigurableProjectOptions

setProjectConfig

public void setProjectConfig(File projectConfig)
Specified by:
setProjectConfig in interface ConfigurableProjectOptions

getProjectVersion

public String getProjectVersion()
Specified by:
getProjectVersion in interface ConfigurableProjectOptions

setProjectVersion

public void setProjectVersion(String versionSlug)
Specified by:
setProjectVersion in interface ConfigurableProjectOptions

getProjectType

public String getProjectType()
Specified by:
getProjectType in interface ConfigurableProjectOptions

setProjectType

public void setProjectType(String projectType)
Specified by:
setProjectType in interface ConfigurableProjectOptions

getProjectConfig

public File getProjectConfig()
Specified by:
getProjectConfig in interface ConfigurableProjectOptions

getLocaleMapList

public LocaleList getLocaleMapList()
Specified by:
getLocaleMapList in interface ConfigurableProjectOptions

setLocaleMapList

public void setLocaleMapList(LocaleList locales)
Specified by:
setLocaleMapList in interface ConfigurableProjectOptions


Copyright © 2013 Zanata Project. All Rights Reserved.