Class FormcycleUpdate.Builder
java.lang.Object
de.xima.fc.update.FormcycleUpdate.Builder
- Enclosing class:
FormcycleUpdate
- Since:
- 7.1.0
- Author:
- XIMA Media GmbH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()withEncryptionCredentials(String password, EDBEncryptionAlgorithm algorithm, boolean encryptFormData) Sets the credentials for database encryption.withMigrateCredentials(String password, EDBEncryptionAlgorithm algorithm, boolean encryptFormData) Deprecated.withMigrateEncryption(boolean migrate) withUpdatePlugins(boolean updatePlugins) Sets whether to update all plugins that are connected to a remote repository to their latest compatible version.
-
Constructor Details
-
Builder
-
-
Method Details
-
build
-
withEncryptionCredentials
@CanIgnoreReturnValue public FormcycleUpdate.Builder withEncryptionCredentials(String password, EDBEncryptionAlgorithm algorithm, boolean encryptFormData) Sets the credentials for database encryption.- Parameters:
password- The password of the database encryption.algorithm- The algorithm of the database encryption.encryptFormData- Whether form record data (submitted forms) should be encrypted as well.- Returns:
- This builder instance for chaining method calls.
-
withMigrateCredentials
@Deprecated @CanIgnoreReturnValue public FormcycleUpdate.Builder withMigrateCredentials(String password, EDBEncryptionAlgorithm algorithm, boolean encryptFormData) Deprecated.Sets the credentials for database encryption.- Parameters:
password- The password of the database encryption.algorithm- The algorithm of the database encryption.encryptFormData- Whether form record data (submitted forms) should be encrypted as well.- Returns:
- This builder instance for chaining method calls.
-
withMigrateEncryption
-
withUpdatePlugins
Sets whether to update all plugins that are connected to a remote repository to their latest compatible version.- Parameters:
updatePlugins- Whether to update plugins.- Returns:
- This builder instance for chaining method calls.
-
withEncryptionCredentials(String, EDBEncryptionAlgorithm, boolean)instead.