public class SshConnectionValue extends java.lang.Object implements ValueFactory<SshConnection>
ValueFactory.Conversions
Constructor and Description |
---|
SshConnectionValue() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost() |
org.apache.sshd.common.keyprovider.KeyIdentityProvider |
getKeyIdentityProvider() |
SecretProvider |
getPasswordProvider() |
int |
getPort() |
long |
getTimeout() |
java.lang.String |
getUser() |
void |
setHost(java.lang.String host) |
void |
setKeyIdentityProvider(org.apache.sshd.common.keyprovider.KeyIdentityProvider keyIdentityProvider) |
void |
setPasswordProvider(SecretProvider passwordProvider) |
void |
setPort(int port) |
void |
setTimeout(long timeout) |
void |
setUser(java.lang.String user) |
SshConnection |
toValue()
Provide an instance of the type this is a factory for.
|
public SshConnection toValue() throws ArooaConversionException
ValueFactory
toValue
in interface ValueFactory<SshConnection>
ArooaConversionException
- If unable to provide a value.public java.lang.String getUser()
public void setUser(java.lang.String user)
public SecretProvider getPasswordProvider()
public void setPasswordProvider(SecretProvider passwordProvider)
public java.lang.String getHost()
public void setHost(java.lang.String host)
public int getPort()
public void setPort(int port)
public long getTimeout()
public void setTimeout(long timeout)
public org.apache.sshd.common.keyprovider.KeyIdentityProvider getKeyIdentityProvider()
public void setKeyIdentityProvider(org.apache.sshd.common.keyprovider.KeyIdentityProvider keyIdentityProvider)