Class SftpServerBuilder

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

    public class SftpServerBuilder
    extends com.consol.citrus.server.AbstractServerBuilder<SftpServer,​SftpServerBuilder>
    Since:
    2.5
    Author:
    Christoph Deppisch
    • Constructor Detail

      • SftpServerBuilder

        public SftpServerBuilder()
    • Method Detail

      • getEndpoint

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

        public SftpServerBuilder port​(int port)
        Sets the port property.
        Parameters:
        port -
        Returns:
      • autoConnect

        public SftpServerBuilder autoConnect​(boolean autoConnect)
        Sets the autoConnect property.
        Parameters:
        autoConnect -
        Returns:
      • autoLogin

        public SftpServerBuilder autoLogin​(boolean autoLogin)
        Sets the autoLogin property.
        Parameters:
        autoLogin -
        Returns:
      • password

        public SftpServerBuilder password​(String password)
        Sets the client password.
        Parameters:
        password -
        Returns:
      • hostKeyPath

        public SftpServerBuilder hostKeyPath​(String hostKeyPath)
        Sets the hostKeyPath property.
        Parameters:
        hostKeyPath -
        Returns:
      • userHomePath

        public SftpServerBuilder userHomePath​(String userHomePath)
        Sets the userHomePath property.
        Parameters:
        userHomePath -
        Returns:
      • allowedKeyPath

        public SftpServerBuilder allowedKeyPath​(String allowedKeyPath)
        Sets the allowedKeyPath property.
        Parameters:
        allowedKeyPath -
        Returns:
      • pollingInterval

        public SftpServerBuilder pollingInterval​(int pollingInterval)
        Sets the polling interval.
        Parameters:
        pollingInterval -
        Returns:
      • strictHostChecking

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

        public SftpServerBuilder knownHosts​(String knownHosts)
        Sets the knownHosts property.
        Parameters:
        knownHosts -
        Returns:
      • privateKeyPath

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

        public SftpServerBuilder privateKeyPassword​(String privateKeyPassword)
        Sets the privateKeyPassword property.
        Parameters:
        privateKeyPassword -
        Returns:
      • preferredAuthentications

        public SftpServerBuilder preferredAuthentications​(String preferredAuthentications)
        Sets the preferredAuthentications property.
        Parameters:
        preferredAuthentications -
        Returns:
      • sessionConfigs

        public SftpServerBuilder sessionConfigs​(Map<String,​String> sessionConfigs)
        Sets the sessionConfigs property.
        Parameters:
        sessionConfigs -
        Returns: