| Modifier and Type | Class and Description |
|---|---|
static class |
NifiFtpServer.Builder |
| Modifier and Type | Field and Description |
|---|---|
private org.apache.ftpserver.FtpServer |
server |
| Modifier | Constructor and Description |
|---|---|
private |
NifiFtpServer(Map<String,org.apache.ftpserver.command.Command> commandMap,
org.apache.ftpserver.ftplet.FileSystemFactory fileSystemFactory,
org.apache.ftpserver.ConnectionConfig connectionConfig,
org.apache.ftpserver.listener.Listener listener,
org.apache.ftpserver.ftplet.User user) |
| Modifier and Type | Method and Description |
|---|---|
private org.apache.ftpserver.command.CommandFactory |
createCommandFactory(Map<String,org.apache.ftpserver.command.Command> commandMap) |
boolean |
isStopped()
Returns the status of the FTP server.
|
void |
start()
Starts the FTP server.
|
void |
stop()
Stops the FTP server.
|
private NifiFtpServer(Map<String,org.apache.ftpserver.command.Command> commandMap, org.apache.ftpserver.ftplet.FileSystemFactory fileSystemFactory, org.apache.ftpserver.ConnectionConfig connectionConfig, org.apache.ftpserver.listener.Listener listener, org.apache.ftpserver.ftplet.User user) throws ProcessException
ProcessExceptionprivate org.apache.ftpserver.command.CommandFactory createCommandFactory(Map<String,org.apache.ftpserver.command.Command> commandMap)
public void start()
throws ProcessException
FtpServerstart in interface FtpServerProcessException - if the server could not be started.public void stop()
FtpServerCopyright © 2023 Apache NiFi Project. All rights reserved.