|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zanata.client.commands.BasicOptionsImpl
org.zanata.client.commands.ConfigurableOptionsImpl
public abstract class ConfigurableOptionsImpl
Base options for commands which support configuration by the user's zanata.ini
| Constructor Summary | |
|---|---|
ConfigurableOptionsImpl()
|
|
| Method Summary | |
|---|---|
String |
getKey()
API key for accessing the REST API. |
boolean |
getLogHttp()
Enable HTTP message logging. |
URL |
getUrl()
Base URL for the server. |
File |
getUserConfig()
Client configuration file. |
String |
getUsername()
Username for accessing the REST API. |
boolean |
isDisableSSLCert()
Disable SSL certificate verification when connecting to Zanata host by https. |
void |
setDisableSSLCert(boolean disableSSLCert)
|
void |
setKey(String key)
|
void |
setLogHttp(boolean logHttp)
|
void |
setUrl(URL url)
|
void |
setUserConfig(File userConfig)
|
void |
setUsername(String username)
|
| 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.BasicOptions |
|---|
getCommandDescription, getCommandName, getDebug, getErrors, getHelp, getQuiet, initCommand, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet |
| Constructor Detail |
|---|
public ConfigurableOptionsImpl()
| Method Detail |
|---|
public String getKey()
ConfigurableOptions
getKey in interface ConfigurableOptionspublic void setKey(String key)
setKey in interface ConfigurableOptionspublic URL getUrl()
ConfigurableOptions
getUrl in interface ConfigurableOptionspublic void setUrl(URL url)
setUrl in interface ConfigurableOptionspublic void setUserConfig(File userConfig)
setUserConfig in interface ConfigurableOptionspublic String getUsername()
ConfigurableOptions
getUsername in interface ConfigurableOptionspublic void setUsername(String username)
setUsername in interface ConfigurableOptionspublic File getUserConfig()
ConfigurableOptions
getUserConfig in interface ConfigurableOptionspublic boolean getLogHttp()
ConfigurableOptions
getLogHttp in interface ConfigurableOptionspublic void setLogHttp(boolean logHttp)
setLogHttp in interface ConfigurableOptionspublic boolean isDisableSSLCert()
ConfigurableOptions
isDisableSSLCert in interface ConfigurableOptionspublic void setDisableSSLCert(boolean disableSSLCert)
setDisableSSLCert in interface ConfigurableOptions
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||