Package org.alfresco.ftp
Class FTPProperties
java.lang.Object
org.alfresco.ftp.FTPProperties
@Configuration
@PropertySource("classpath:default.properties") @PropertySource(value="classpath:${environment}.properties",ignoreResourceNotFound=true)
public class FTPProperties
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanstatic org.springframework.context.support.PropertySourcesPlaceholderConfigurervoidsetFtpPort(int ftpPort) voidsetftpTimeout(int timeout) voidsetPassiveModel(boolean passiveModel)
-
Constructor Details
-
FTPProperties
public FTPProperties()
-
-
Method Details
-
propertySourcesPlaceholderConfigurer
@Bean public static org.springframework.context.support.PropertySourcesPlaceholderConfigurer propertySourcesPlaceholderConfigurer() -
getFtpPort
public int getFtpPort() -
setFtpPort
public void setFtpPort(int ftpPort) -
getftpTimeout
public int getftpTimeout() -
setftpTimeout
public void setftpTimeout(int timeout) -
isPassiveModel
public boolean isPassiveModel() -
setPassiveModel
public void setPassiveModel(boolean passiveModel)
-