Class UpdateResult

  • All Implemented Interfaces:

    
    public final class UpdateResult
    
                        

    Represents the result of a database update operation.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
      UpdateResult(Boolean success, Boolean updateAvailable, String currentVersion, String errorMessage)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean getSuccess() Indicates whether the update process was successful.
      final Boolean getUpdateAvailable() Indicates whether a new update was available.
      final String getCurrentVersion() The current version after the update.
      final String getErrorMessage() Error message if the update failed.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UpdateResult

        UpdateResult(Boolean success, Boolean updateAvailable, String currentVersion, String errorMessage)
    • Method Detail

      • getSuccess

         final Boolean getSuccess()

        Indicates whether the update process was successful.

      • getUpdateAvailable

         final Boolean getUpdateAvailable()

        Indicates whether a new update was available.

      • getCurrentVersion

         final String getCurrentVersion()

        The current version after the update.

      • getErrorMessage

         final String getErrorMessage()

        Error message if the update failed.