Package org.alfresco.filesys
Class FileServerConfig
java.lang.Object
org.alfresco.filesys.FileServerConfig
- All Implemented Interfaces:
FileServerConfigMBean
File Server Configuration MBean Class
Implements the file server configuration interface using the fileServerConfigurationBase bean from network-protocol-context.xml.
- Author:
- gkspencer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.alfresco.jlan.server.config.ServerConfigurationSet the file server configurationbooleanCheck if the FTP server is enabledvoidsetFileServerConfiguration(org.alfresco.jlan.server.config.ServerConfiguration serverConfig) Set the file server configurationvoidsetFtpServer(FTPServerBean ftpServer) Set the FTP servervoidsetFTPServerEnabled(boolean enabled) Enable/disable FTP server
-
Constructor Details
-
FileServerConfig
public FileServerConfig()Default constructor
-
-
Method Details
-
getFileServerConfiguration
public org.alfresco.jlan.server.config.ServerConfiguration getFileServerConfiguration()Set the file server configuration- Returns:
- ServerConfiguration
-
setFileServerConfiguration
public void setFileServerConfiguration(org.alfresco.jlan.server.config.ServerConfiguration serverConfig) Set the file server configuration- Parameters:
serverConfig- ServerConfiguration
-
setFtpServer
Set the FTP server- Parameters:
ftpServer- FTP server
-
isFTPServerEnabled
public boolean isFTPServerEnabled()Check if the FTP server is enabled- Specified by:
isFTPServerEnabledin interfaceFileServerConfigMBean- Returns:
- boolean
-
setFTPServerEnabled
Description copied from interface:FileServerConfigMBeanEnable/disable FTP server- Specified by:
setFTPServerEnabledin interfaceFileServerConfigMBean- Parameters:
enabled- true to enable, false to disable- Throws:
Exception
-