Class FormcycleUpdate.Builder

    • Constructor Detail

      • Builder

        public Builder​(IUser user,
                       Locale locale)
    • Method Detail

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