public static interface ConfigRepository.Config
| Modifier and Type | Method and Description |
|---|---|
String |
getHostname()
The actual host name to use for connecting.
|
int |
getPort()
The port number to use for connecting.
|
String |
getUser()
The user name to use for connecting.
|
String |
getValue(String key)
A configuration value for a named key, as a string.
|
String[] |
getValues(String key)
A list of configuration values for a named key, as an array of strings.
|
String getHostname()
null means to use the host name indicated
by the parameter to JSch.getSession(java.lang.String).String getUser()
null means to use the user name
indicated by the parameter to JSch.getSession(java.lang.String).int getPort()
-1 means to use the port number
indicated by the parameter to JSch.getSession(String, String, int), or the default port.String getValue(String key)
null means to use that key's default value.This is a simplified version of the inofficial Javadoc created by PaĆlo Ebermann. Have a look at the official homepage.