Class ScpClientBuilder

  • All Implemented Interfaces:
    com.consol.citrus.endpoint.EndpointBuilder<ScpClient>

    public class ScpClientBuilder
    extends com.consol.citrus.endpoint.AbstractEndpointBuilder<ScpClient>
    Since:
    2.7.6
    Author:
    Christoph Deppisch
    • Constructor Detail

      • ScpClientBuilder

        public ScpClientBuilder()
    • Method Detail

      • getEndpoint

        protected ScpClient getEndpoint()
        Specified by:
        getEndpoint in class com.consol.citrus.endpoint.AbstractEndpointBuilder<ScpClient>
      • portOption

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

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

        @Deprecated
        public ScpClientBuilder autoReadFiles​(boolean autoReadFiles)
        Deprecated.
        received files are always read automatically making this flag obsolete
        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​(com.consol.citrus.message.MessageCorrelator correlator)
        Sets the message correlator.
        Parameters:
        correlator -
        Returns:
      • errorHandlingStrategy

        public ScpClientBuilder errorHandlingStrategy​(com.consol.citrus.message.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: