public class FileServerConfig extends Object implements FileServerConfigMBean
Implements the file server configuration interface using the fileServerConfigurationBase bean from network-protocol-context.xml.
| Constructor and Description |
|---|
FileServerConfig()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
org.alfresco.jlan.server.config.ServerConfiguration |
getFileServerConfiguration()
Set the file server configuration
|
boolean |
isFTPServerEnabled()
Check if the FTP server is enabled
|
void |
setFileServerConfiguration(org.alfresco.jlan.server.config.ServerConfiguration serverConfig)
Set the file server configuration
|
void |
setFtpServer(FTPServerBean ftpServer)
Set the FTP server
|
void |
setFTPServerEnabled(boolean enabled)
Enable/disable FTP server
|
public org.alfresco.jlan.server.config.ServerConfiguration getFileServerConfiguration()
public void setFileServerConfiguration(org.alfresco.jlan.server.config.ServerConfiguration serverConfig)
serverConfig - ServerConfigurationpublic void setFtpServer(FTPServerBean ftpServer)
ftpServer - FTP serverpublic boolean isFTPServerEnabled()
isFTPServerEnabled in interface FileServerConfigMBeanpublic void setFTPServerEnabled(boolean enabled)
throws Exception
FileServerConfigMBeansetFTPServerEnabled in interface FileServerConfigMBeanenabled - true to enable, false to disableExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.