Package com.consol.citrus.ssh.client
Class SshEndpointConfiguration
- java.lang.Object
-
- com.consol.citrus.endpoint.AbstractEndpointConfiguration
-
- com.consol.citrus.endpoint.AbstractPollableEndpointConfiguration
-
- com.consol.citrus.ssh.client.SshEndpointConfiguration
-
- All Implemented Interfaces:
EndpointConfiguration,PollableEndpointConfiguration
public class SshEndpointConfiguration extends AbstractPollableEndpointConfiguration
- Since:
- 1.4
- Author:
- Roland Huss, Christoph Deppisch
-
-
Constructor Summary
Constructors Constructor Description SshEndpointConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCommandTimeout()Gets the command timeout.intgetConnectionTimeout()Gets the connection timeout.MessageCorrelatorgetCorrelator()Gets the message correlator.StringgetHost()Gets the ssh server host.StringgetKnownHosts()Gets known hosts.SshMessageConvertergetMessageConverter()Gets the message converter.StringgetPassword()Gets the ssh user password.intgetPort()Gets the ssh server port.StringgetPrivateKeyPassword()Gets the private keystore password.StringgetPrivateKeyPath()Gets the private key store path.SshMarshallergetSshMarshaller()Gets the ssh oxm marshaller.StringgetUser()Gets the ssh user.booleanisStrictHostChecking()Is 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.voidsetHost(String host)Sets 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.voidsetUser(String user)Sets the ssh user.-
Methods inherited from class com.consol.citrus.endpoint.AbstractPollableEndpointConfiguration
getPollingInterval, setPollingInterval
-
Methods inherited from class com.consol.citrus.endpoint.AbstractEndpointConfiguration
getTimeout, setTimeout
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.consol.citrus.endpoint.EndpointConfiguration
getTimeout, setTimeout
-
-
-
-
Method Detail
-
getHost
public String getHost()
Gets the ssh server host.- Returns:
-
setHost
public void setHost(String host)
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
public String getUser()
Gets the ssh user.- Returns:
-
setUser
public void setUser(String user)
Sets the ssh user.- Parameters:
user-
-
getPassword
public String getPassword()
Gets the ssh user password.- Returns:
-
setPassword
public void setPassword(String password)
Sets the ssh user password.- Parameters:
password-
-
getPrivateKeyPath
public String getPrivateKeyPath()
Gets the private key store path.- Returns:
-
setPrivateKeyPath
public void setPrivateKeyPath(String privateKeyPath)
Sets the private key store path.- Parameters:
privateKeyPath-
-
getPrivateKeyPassword
public String getPrivateKeyPassword()
Gets the private keystore password.- Returns:
-
setPrivateKeyPassword
public void setPrivateKeyPassword(String privateKeyPassword)
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
public String getKnownHosts()
Gets known hosts.- Returns:
-
setKnownHosts
public void setKnownHosts(String knownHosts)
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
public MessageCorrelator getCorrelator()
Gets the message correlator.- Returns:
-
setCorrelator
public void setCorrelator(MessageCorrelator correlator)
Sets the message correlator.- Parameters:
correlator-
-
getMessageConverter
public SshMessageConverter getMessageConverter()
Gets the message converter.- Returns:
-
setMessageConverter
public void setMessageConverter(SshMessageConverter messageConverter)
Sets the message converter.- Parameters:
messageConverter-
-
getSshMarshaller
public SshMarshaller getSshMarshaller()
Gets the ssh oxm marshaller.- Returns:
-
setSshMarshaller
public void setSshMarshaller(SshMarshaller sshMarshaller)
Sets the ssh oxm marshaller.- Parameters:
sshMarshaller-
-
-