Package org.citrusframework.ssh.client
Class SshEndpointConfiguration
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointConfiguration
org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
org.citrusframework.ssh.client.SshEndpointConfiguration
- All Implemented Interfaces:
EndpointConfiguration,PollableEndpointConfiguration
- Since:
- 1.4
- Author:
- Roland Huss, Christoph Deppisch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongGets the command timeout.intGets the connection timeout.Gets the message correlator.getHost()Gets the ssh server host.Gets known hosts.Gets the message converter.Gets the ssh user password.intgetPort()Gets the ssh server port.Gets the private keystore password.Gets the private key store path.Gets the ssh oxm marshaller.getUser()Gets the ssh user.booleanIs strict host checking enabled.voidsetCommandTimeout(long commandTimeout) Sets the command timeout.voidsetConnectionTimeout(int connectionTimeout) Sets the connection timeout.voidsetCorrelator(MessageCorrelator correlator) Sets the message correlator.voidSets the ssh server host.voidsetKnownHosts(String knownHosts) Sets known hosts.voidsetMessageConverter(SshMessageConverter messageConverter) Sets the message converter.voidsetPassword(String password) Sets the ssh user password.voidsetPort(int port) Sets the ssh server port.voidsetPrivateKeyPassword(String privateKeyPassword) Sets the private keystore password.voidsetPrivateKeyPath(String privateKeyPath) Sets the private key store path.voidsetSshMarshaller(SshMarshaller sshMarshaller) Sets the ssh oxm marshaller.voidsetStrictHostChecking(boolean strictHostChecking) Enables/disables strict host checking.voidSets the ssh user.Methods inherited from class org.citrusframework.endpoint.AbstractPollableEndpointConfiguration
getPollingInterval, setPollingIntervalMethods inherited from class org.citrusframework.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeoutMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointConfiguration
getTimeout, setTimeout
-
Constructor Details
-
SshEndpointConfiguration
public SshEndpointConfiguration()
-
-
Method Details
-
getHost
Gets the ssh server host.- Returns:
-
setHost
Sets the ssh server host.- Parameters:
host-
-
getPort
public int getPort()Gets the ssh server port.- Returns:
-
setPort
public void setPort(int port) Sets the ssh server port.- Parameters:
port-
-
getUser
Gets the ssh user.- Returns:
-
setUser
Sets the ssh user.- Parameters:
user-
-
getPassword
Gets the ssh user password.- Returns:
-
setPassword
Sets the ssh user password.- Parameters:
password-
-
getPrivateKeyPath
Gets the private key store path.- Returns:
-
setPrivateKeyPath
Sets the private key store path.- Parameters:
privateKeyPath-
-
getPrivateKeyPassword
Gets the private keystore password.- Returns:
-
setPrivateKeyPassword
Sets the private keystore password.- Parameters:
privateKeyPassword-
-
isStrictHostChecking
public boolean isStrictHostChecking()Is strict host checking enabled.- Returns:
-
setStrictHostChecking
public void setStrictHostChecking(boolean strictHostChecking) Enables/disables strict host checking.- Parameters:
strictHostChecking-
-
getKnownHosts
Gets known hosts.- Returns:
-
setKnownHosts
Sets known hosts.- Parameters:
knownHosts-
-
getCommandTimeout
public long getCommandTimeout()Gets the command timeout.- Returns:
-
setCommandTimeout
public void setCommandTimeout(long commandTimeout) Sets the command timeout.- Parameters:
commandTimeout-
-
getConnectionTimeout
public int getConnectionTimeout()Gets the connection timeout.- Returns:
-
setConnectionTimeout
public void setConnectionTimeout(int connectionTimeout) Sets the connection timeout.- Parameters:
connectionTimeout-
-
getCorrelator
Gets the message correlator.- Returns:
-
setCorrelator
Sets the message correlator.- Parameters:
correlator-
-
getMessageConverter
Gets the message converter.- Returns:
-
setMessageConverter
Sets the message converter.- Parameters:
messageConverter-
-
getSshMarshaller
Gets the ssh oxm marshaller.- Returns:
-
setSshMarshaller
Sets the ssh oxm marshaller.- Parameters:
sshMarshaller-
-