Class NifiFtpServer
java.lang.Object
org.apache.nifi.processors.standard.ftp.NifiFtpServer
- All Implemented Interfaces:
FtpServer
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classprivate static class -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateNifiFtpServer(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) -
Method Summary
-
Field Details
-
server
private final org.apache.ftpserver.FtpServer server
-
-
Constructor Details
-
NifiFtpServer
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 org.apache.nifi.processor.exception.ProcessException- Throws:
org.apache.nifi.processor.exception.ProcessException
-
-
Method Details
-
createCommandFactory
-
start
public void start() throws org.apache.nifi.processor.exception.ProcessExceptionDescription copied from interface:FtpServerStarts the FTP server. -
stop
public void stop()Description copied from interface:FtpServerStops the FTP server. -
isStopped
public boolean isStopped()Description copied from interface:FtpServerReturns the status of the FTP server.
-