Package de.xima.fc.update
Class FormcycleUpdate.Builder
- java.lang.Object
-
- de.xima.fc.update.FormcycleUpdate.Builder
-
- Enclosing class:
- FormcycleUpdate
public static final class FormcycleUpdate.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description FormcycleUpdatebuild()FormcycleUpdate.BuilderwithEncryptionCredentials(String password, EDBEncryptionAlgorithm algorithm, boolean encryptFormData)Sets the credentials for database encryption.FormcycleUpdate.BuilderwithMigrateCredentials(String password, EDBEncryptionAlgorithm algorithm, boolean encryptFormData)Deprecated.FormcycleUpdate.BuilderwithMigrateEncryption(boolean migrate)FormcycleUpdate.BuilderwithUpdatePlugins(boolean updatePlugins)Sets whether to update all plugins that are connected to a remote repository to their latest compatible version.
-
-
-
Method Detail
-
build
public FormcycleUpdate 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
@CanIgnoreReturnValue public FormcycleUpdate.Builder withMigrateEncryption(boolean migrate)
-
withUpdatePlugins
@CanIgnoreReturnValue public FormcycleUpdate.Builder withUpdatePlugins(boolean updatePlugins)
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.
-
-