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, isQuietSet, setBatchMode, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCommandDescription, getCommandHooks, getCommandName, getDebug, getErrors, getHelp, getQuiet, initCommand, isDebugSet, isErrorsSet, isInteractiveMode, isQuietSet, setCommandHooks, setDebug, setErrors, setHelp, setInteractiveMode, setQuiet
public String getKey()
ConfigurableOptions
getKey
in interface ConfigurableOptions
public void setKey(String key)
setKey
in interface ConfigurableOptions
public URL getUrl()
ConfigurableOptions
getUrl
in interface ConfigurableOptions
public void setUrl(URL url)
setUrl
in interface ConfigurableOptions
public void setUserConfig(File userConfig)
setUserConfig
in interface ConfigurableOptions
public String getUsername()
ConfigurableOptions
getUsername
in interface ConfigurableOptions
public void setUsername(String username)
setUsername
in interface ConfigurableOptions
public File getUserConfig()
ConfigurableOptions
getUserConfig
in interface ConfigurableOptions
public boolean getLogHttp()
ConfigurableOptions
getLogHttp
in interface ConfigurableOptions
public void setLogHttp(boolean logHttp)
setLogHttp
in interface ConfigurableOptions
public boolean isDisableSSLCert()
ConfigurableOptions
isDisableSSLCert
in interface ConfigurableOptions
public void setDisableSSLCert(boolean disableSSLCert)
setDisableSSLCert
in interface ConfigurableOptions
public boolean isAuthRequired()
ConfigurableOptions
isAuthRequired
in interface ConfigurableOptions
Copyright © 2015 Zanata Project. All rights reserved.