Package org.citrusframework.ftp.server
Class SftpServerBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<T>
org.citrusframework.server.AbstractServerBuilder<SftpServer,SftpServerBuilder>
org.citrusframework.ftp.server.SftpServerBuilder
- All Implemented Interfaces:
EndpointBuilder<SftpServer>
- 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.autoConnect(boolean autoConnect) Sets the autoConnect property.autoLogin(boolean autoLogin) Sets the autoLogin property.protected SftpServerhostKeyPath(String hostKeyPath) Sets the hostKeyPath property.knownHosts(String knownHosts) Sets the knownHosts property.Sets the client password.pollingInterval(int pollingInterval) Sets the polling interval.port(int port) Sets the port property.preferredAuthentications(String preferredAuthentications) Sets the preferredAuthentications property.privateKeyPassword(String privateKeyPassword) Sets the privateKeyPassword property.privateKeyPath(String privateKeyPath) Sets the privateKeyPath property.sessionConfigs(Map<String, String> sessionConfigs) Sets the sessionConfigs property.strictHostChecking(boolean strictHostChecking) Sets the strictHostChecking property.Sets the user property.userHomePath(String userHomePath) Sets the userHomePath property.Methods inherited from class org.citrusframework.server.AbstractServerBuilder
autoStart, debugLogging, endpointAdapter, 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
-
SftpServerBuilder
public SftpServerBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<SftpServer>
-
port
Sets the port property.- Parameters:
port-- Returns:
-
autoConnect
Sets the autoConnect property.- Parameters:
autoConnect-- Returns:
-
autoLogin
Sets the autoLogin property.- Parameters:
autoLogin-- 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:
-
pollingInterval
Sets the polling interval.- Parameters:
pollingInterval-- Returns:
-
strictHostChecking
Sets the strictHostChecking property.- Parameters:
strictHostChecking-- Returns:
-
knownHosts
Sets the knownHosts property.- Parameters:
knownHosts-- Returns:
-
privateKeyPath
Sets the privateKeyPath property.- Parameters:
privateKeyPath-- Returns:
-
privateKeyPassword
Sets the privateKeyPassword property.- Parameters:
privateKeyPassword-- Returns:
-
preferredAuthentications
Sets the preferredAuthentications property.- Parameters:
preferredAuthentications-- Returns:
-
sessionConfigs
Sets the sessionConfigs property.- Parameters:
sessionConfigs-- Returns:
-