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:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.jmix.appsettings.entity.AppSettingsEntity
io.jmix.appsettings.entity.AppSettingsEntity.JmixEntityEntry -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDebug()getPort()voidvoidsetKeystorePassword(String keystorePassword) voidsetMaxDownloadSpeed(Integer maxDownloadSpeed) voidsetMaxIdleTime(Integer maxIdleTime) voidsetMaxUploadSpeed(Integer maxUploadSpeed) voidvoidvoidsetTruststorePassword(String truststorePassword) Methods inherited from class io.jmix.appsettings.entity.AppSettingsEntity
__copyEntityEntry, __getEntityEntry, _persistence_checkFetched, _persistence_checkFetchedForSet, _persistence_get, _persistence_getCacheKey, _persistence_getFetchGroup, _persistence_getId, _persistence_getPropertyChangeListener, _persistence_getSession, _persistence_isAttributeFetched, _persistence_new, _persistence_post_clone, _persistence_propertyChange, _persistence_resetFetchGroup, _persistence_set, _persistence_setCacheKey, _persistence_setFetchGroup, _persistence_setId, _persistence_setPropertyChangeListener, _persistence_setSession, _persistence_setShouldRefreshFetchGroup, _persistence_shallow_clone, _persistence_shouldRefreshFetchGroup, equals, getId, getVersion, hashCode, setId, setVersion, toString
-
Constructor Details
-
FTPServerSettings
public FTPServerSettings()
-
-
Method Details
-
getKeystorePassword
-
setKeystorePassword
-
getTruststorePassword
-
setTruststorePassword
-
getSecure
-
setSecure
-
getMaxIdleTime
-
setMaxIdleTime
-
getDebug
-
setDebug
-
getMaxUploadSpeed
-
setMaxUploadSpeed
-
getMaxDownloadSpeed
-
setMaxDownloadSpeed
-
getPort
-
setPort
-