public abstract class ConfigurableOptionsImpl extends BasicOptionsImpl implements ConfigurableOptions
| Constructor and Description |
|---|
ConfigurableOptionsImpl() |
| Modifier and Type | Method and Description |
|---|---|
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 |
isAuthRequired()
Use to disable check for presence of username and API key before running command.
|
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) |
getCommandHooks, getDebug, getErrors, getHelp, getQuiet, isDebugSet, isErrorsSet, isInteractiveMode, isInteractiveModeSet, isQuietSet, setBatchMode, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuietclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCommandDescription, getCommandHooks, getCommandName, getDebug, getErrors, getHelp, getQuiet, initCommand, isDebugSet, isErrorsSet, isInteractiveMode, isInteractiveModeSet, isQuietSet, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuietpublic String getKey()
ConfigurableOptionsgetKey in interface ConfigurableOptionspublic void setKey(String key)
setKey in interface ConfigurableOptionspublic URL getUrl()
ConfigurableOptionsgetUrl in interface ConfigurableOptionspublic void setUrl(URL url)
setUrl in interface ConfigurableOptionspublic void setUserConfig(File userConfig)
setUserConfig in interface ConfigurableOptionspublic File getUserConfig()
ConfigurableOptionsgetUserConfig in interface ConfigurableOptionspublic String getUsername()
ConfigurableOptionsgetUsername in interface ConfigurableOptionspublic void setUsername(String username)
setUsername in interface ConfigurableOptionspublic boolean getLogHttp()
ConfigurableOptionsgetLogHttp in interface ConfigurableOptionspublic void setLogHttp(boolean logHttp)
setLogHttp in interface ConfigurableOptionspublic boolean isDisableSSLCert()
ConfigurableOptionsisDisableSSLCert in interface ConfigurableOptionspublic void setDisableSSLCert(boolean disableSSLCert)
setDisableSSLCert in interface ConfigurableOptionspublic boolean isAuthRequired()
ConfigurableOptionsisAuthRequired in interface ConfigurableOptionsCopyright © 2018 Zanata Project. All rights reserved.