Package org.citrusframework.ssh.server
Class SshServerBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<T>
org.citrusframework.server.AbstractServerBuilder<SshServer,SshServerBuilder>
org.citrusframework.ssh.server.SshServerBuilder
- All Implemented Interfaces:
EndpointBuilder<SshServer>
- Since:
- 2.5
- Author:
- Christoph Deppisch
-
Field Summary
Fields inherited from interface org.citrusframework.endpoint.EndpointBuilder
logger, RESOURCE_PATH, TYPE_RESOLVER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionallowedKeyPath(String allowedKeyPath) Sets the allowedKeyPath property.autoStart(boolean autoStart) Sets the autoStart property.debugLogging(boolean enabled) Sets the debug logging enabled flag.endpointAdapter(EndpointAdapter endpointAdapter) Sets the endpoint adapter.protected SshServerhostKeyPath(String hostKeyPath) Sets the hostKeyPath property.marshaller(SshMarshaller marshaller) Sets the marshaller.messageConverter(SshMessageConverter messageConverter) Sets the message converter.Sets the client password.pollingInterval(int pollingInterval) Sets the polling interval.port(int port) Sets the port property.Sets the user property.userHomePath(String userHomePath) Sets the userHomePath property.Methods inherited from class org.citrusframework.server.AbstractServerBuilder
timeoutMethods inherited from class org.citrusframework.endpoint.AbstractEndpointBuilder
actor, build, initialize, name, referenceResolver, supportsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.citrusframework.endpoint.EndpointBuilder
build, build
-
Constructor Details
-
SshServerBuilder
public SshServerBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<SshServer>
-
port
Sets the port property.- Parameters:
port-- Returns:
-
user
Sets the user property.- Parameters:
user-- Returns:
-
password
Sets the client password.- Parameters:
password-- Returns:
-
hostKeyPath
Sets the hostKeyPath property.- Parameters:
hostKeyPath-- Returns:
-
userHomePath
Sets the userHomePath property.- Parameters:
userHomePath-- Returns:
-
allowedKeyPath
Sets the allowedKeyPath property.- Parameters:
allowedKeyPath-- Returns:
-
messageConverter
Sets the message converter.- Parameters:
messageConverter-- Returns:
-
marshaller
Sets the marshaller.- Parameters:
marshaller-- Returns:
-
pollingInterval
Sets the polling interval.- Parameters:
pollingInterval-- Returns:
-
endpointAdapter
Sets the endpoint adapter.- Overrides:
endpointAdapterin classAbstractServerBuilder<SshServer,SshServerBuilder> - Parameters:
endpointAdapter-- Returns:
-
debugLogging
Sets the debug logging enabled flag.- Overrides:
debugLoggingin classAbstractServerBuilder<SshServer,SshServerBuilder> - Parameters:
enabled-- Returns:
-
autoStart
Sets the autoStart property.- Overrides:
autoStartin classAbstractServerBuilder<SshServer,SshServerBuilder> - Parameters:
autoStart-- Returns:
-