Class SshServerBuilder

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

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

      • SshServerBuilder

        public SshServerBuilder()
    • Method Detail

      • getEndpoint

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

        public SshServerBuilder port​(int port)
        Sets the port property.
        Parameters:
        port -
        Returns:
      • password

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

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

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

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

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

        public SshServerBuilder endpointAdapter​(com.consol.citrus.endpoint.EndpointAdapter endpointAdapter)
        Sets the endpoint adapter.
        Overrides:
        endpointAdapter in class com.consol.citrus.server.AbstractServerBuilder<SshServer,​SshServerBuilder>
        Parameters:
        endpointAdapter -
        Returns:
      • debugLogging

        public SshServerBuilder debugLogging​(boolean enabled)
        Sets the debug logging enabled flag.
        Overrides:
        debugLogging in class com.consol.citrus.server.AbstractServerBuilder<SshServer,​SshServerBuilder>
        Parameters:
        enabled -
        Returns:
      • autoStart

        public SshServerBuilder autoStart​(boolean autoStart)
        Sets the autoStart property.
        Overrides:
        autoStart in class com.consol.citrus.server.AbstractServerBuilder<SshServer,​SshServerBuilder>
        Parameters:
        autoStart -
        Returns: