Package org.citrusframework.ftp.server
Class FtpServerBuilder
java.lang.Object
org.citrusframework.endpoint.AbstractEndpointBuilder<T>
org.citrusframework.server.AbstractServerBuilder<FtpServer,FtpServerBuilder>
org.citrusframework.ftp.server.FtpServerBuilder
- All Implemented Interfaces:
EndpointBuilder<FtpServer>
- 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 TypeMethodDescriptionautoConnect(boolean autoConnect) Sets the autoConnect property.autoHandleCommands(String autoHandleCommands) Sets the autoHandleCommands property.autoLogin(boolean autoLogin) Sets the autoLogin property.autoReadFiles(boolean autoReadFiles) Sets the autoReadFiles property.correlator(MessageCorrelator correlator) Sets the correlator.errorHandlingStrategy(ErrorHandlingStrategy errorHandlingStrategy) Sets the error handling strategy.protected FtpServerSets the host property.listenerFactory(org.apache.ftpserver.listener.ListenerFactory factory) Sets the listener factory property.localPassiveMode(boolean localPassiveMode) Sets the localPassiveMode property.marshaller(FtpMarshaller marshaller) Sets the marshaller.Sets the password property.port(int port) Sets the port property.server(org.apache.ftpserver.FtpServer server) Sets the ftp server.Sets the user property.userManager(org.apache.ftpserver.ftplet.UserManager userManager) Sets the userManager property.userManagerProperties(Resource userManagerProperties) Sets the userManager properties.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
-
FtpServerBuilder
public FtpServerBuilder()
-
-
Method Details
-
getEndpoint
- Specified by:
getEndpointin classAbstractEndpointBuilder<FtpServer>
-
port
Sets the port property.- Parameters:
port-- Returns:
-
autoConnect
Sets the autoConnect property.- Parameters:
autoConnect-- Returns:
-
autoLogin
Sets the autoLogin property.- Parameters:
autoLogin-- Returns:
-
host
Sets the host property.- Parameters:
host-- Returns:
-
user
Sets the user property.- Parameters:
user-- Returns:
-
password
Sets the password property.- Parameters:
password-- Returns:
-
autoHandleCommands
Sets the autoHandleCommands property.- Parameters:
autoHandleCommands-- Returns:
-
autoReadFiles
Sets the autoReadFiles property.- Parameters:
autoReadFiles-- Returns:
-
localPassiveMode
Sets the localPassiveMode property.- Parameters:
localPassiveMode-- Returns:
-
server
Sets the ftp server.- Parameters:
server-- Returns:
-
userManager
Sets the userManager property.- Parameters:
userManager-- Returns:
-
listenerFactory
Sets the listener factory property.- Parameters:
factory-- Returns:
-
userManagerProperties
Sets the userManager properties.- Parameters:
userManagerProperties-- Returns:
-
marshaller
Sets the marshaller.- Parameters:
marshaller-- Returns:
-
correlator
Sets the correlator.- Parameters:
correlator-- Returns:
-
errorHandlingStrategy
Sets the error handling strategy.- Parameters:
errorHandlingStrategy-- Returns:
-