Class ScpClientBuilder

java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<ScpClient>
org.citrusframework.ftp.client.ScpClientBuilder
All Implemented Interfaces:
EndpointBuilder<ScpClient>

public class ScpClientBuilder extends AbstractEndpointBuilder<ScpClient>
Since:
2.7.6
Author:
Christoph Deppisch
  • Constructor Details

    • ScpClientBuilder

      public ScpClientBuilder()
  • Method Details

    • getEndpoint

      protected ScpClient getEndpoint()
      Specified by:
      getEndpoint in class AbstractEndpointBuilder<ScpClient>
    • portOption

      public ScpClientBuilder portOption(String option)
      Sets the port option property.
      Parameters:
      option -
      Returns:
    • host

      public ScpClientBuilder host(String host)
      Sets the host property.
      Parameters:
      host -
      Returns:
    • port

      public ScpClientBuilder port(int port)
      Sets the port property.
      Parameters:
      port -
      Returns:
    • autoReadFiles

      public ScpClientBuilder autoReadFiles(boolean autoReadFiles)
      Sets the auto read files property.
      Parameters:
      autoReadFiles -
      Returns:
    • username

      public ScpClientBuilder username(String username)
      Sets the client username.
      Parameters:
      username -
      Returns:
    • password

      public ScpClientBuilder password(String password)
      Sets the client password.
      Parameters:
      password -
      Returns:
    • privateKeyPath

      public ScpClientBuilder privateKeyPath(String privateKeyPath)
      Sets the privateKeyPath property.
      Parameters:
      privateKeyPath -
      Returns:
    • privateKeyPassword

      public ScpClientBuilder privateKeyPassword(String privateKeyPassword)
      Sets the privateKeyPassword property.
      Parameters:
      privateKeyPassword -
      Returns:
    • strictHostChecking

      public ScpClientBuilder strictHostChecking(boolean strictHostChecking)
      Sets the strictHostChecking property.
      Parameters:
      strictHostChecking -
      Returns:
    • knownHosts

      public ScpClientBuilder knownHosts(String knownHosts)
      Sets the knownHosts property.
      Parameters:
      knownHosts -
      Returns:
    • correlator

      public ScpClientBuilder correlator(MessageCorrelator correlator)
      Sets the message correlator.
      Parameters:
      correlator -
      Returns:
    • errorHandlingStrategy

      public ScpClientBuilder errorHandlingStrategy(ErrorHandlingStrategy errorStrategy)
      Sets the error handling strategy.
      Parameters:
      errorStrategy -
      Returns:
    • pollingInterval

      public ScpClientBuilder pollingInterval(int pollingInterval)
      Sets the polling interval.
      Parameters:
      pollingInterval -
      Returns:
    • timeout

      public ScpClientBuilder timeout(long timeout)
      Sets the default timeout.
      Parameters:
      timeout -
      Returns: