Class FTPServerSettings

java.lang.Object
io.jmix.appsettings.entity.AppSettingsEntity
de.bytestore.hostinger.entity.settings.FTPServerSettings
All Implemented Interfaces:
io.jmix.core.Entity, io.jmix.core.entity.JmixEntityEntryEnhanced, io.jmix.core.entity.JmixSettersEnhanced, Serializable, Cloneable, org.eclipse.persistence.descriptors.changetracking.ChangeTracker, org.eclipse.persistence.internal.descriptors.PersistenceEntity, org.eclipse.persistence.internal.descriptors.PersistenceObject, org.eclipse.persistence.internal.weaving.PersistenceWeaved, org.eclipse.persistence.internal.weaving.PersistenceWeavedChangeTracking, org.eclipse.persistence.internal.weaving.PersistenceWeavedFetchGroups, org.eclipse.persistence.queries.FetchGroupTracker

@Entity(name="host_FTPServerSettings") public class FTPServerSettings extends io.jmix.appsettings.entity.AppSettingsEntity
Represents the settings for configuring an FTP server. This class contains various configurable properties such as port, security settings, speed limits, and debug options to customize the behavior of the FTP server. The class extends `AppSettingsEntity` to integrate with the application's settings management system and supports the use of default values through annotations like `@AppSettingsDefaultInt` and `@AppSettingsDefaultBoolean`. Fields: - `port`: The port on which the FTP server listens. Default is 21. - `maxIdleTime`: The maximum idle time (in seconds) for connections. Default is -1 (no restriction). - `secure`: Indicates whether the FTP server should use secure connections. Default is true. - `truststorePassword`: Password for the truststore used in secure connections. - `keystorePassword`: Password for the keystore used in secure connections. - `maxDownloadSpeed`: Maximum download speed (in KB/s) per connection. Default is -1 (no restriction). - `maxUploadSpeed`: Maximum upload speed (in KB/s) per connection. Default is -1 (no restriction). - `debug`: Enables or disables FTP server debug mode. Default is false. Note: Modifications to the settings might require restarting the FTP server for the changes to take effect.
See Also:
  • Constructor Details

    • FTPServerSettings

      public FTPServerSettings()
  • Method Details

    • getKeystorePassword

      public String getKeystorePassword()
    • setKeystorePassword

      public void setKeystorePassword(String keystorePassword)
    • getTruststorePassword

      public String getTruststorePassword()
    • setTruststorePassword

      public void setTruststorePassword(String truststorePassword)
    • getSecure

      public Boolean getSecure()
    • setSecure

      public void setSecure(Boolean secure)
    • getMaxIdleTime

      public Integer getMaxIdleTime()
    • setMaxIdleTime

      public void setMaxIdleTime(Integer maxIdleTime)
    • getDebug

      public Boolean getDebug()
    • setDebug

      public void setDebug(Boolean debug)
    • getMaxUploadSpeed

      public Integer getMaxUploadSpeed()
    • setMaxUploadSpeed

      public void setMaxUploadSpeed(Integer maxUploadSpeed)
    • getMaxDownloadSpeed

      public Integer getMaxDownloadSpeed()
    • setMaxDownloadSpeed

      public void setMaxDownloadSpeed(Integer maxDownloadSpeed)
    • getPort

      public Integer getPort()
    • setPort

      public void setPort(Integer port)