Class FormcycleUpdate.Builder

java.lang.Object
de.xima.fc.update.FormcycleUpdate.Builder
Enclosing class:
FormcycleUpdate

public static final class FormcycleUpdate.Builder extends Object
Since:
7.1.0
Author:
XIMA Media GmbH
  • Constructor Details

  • Method Details

    • 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)
      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.