Package com.iplateia.sorisdk
Class UpdateResult
-
- All Implemented Interfaces:
public final class UpdateResultRepresents the result of a database update operation.
-
-
Field Summary
Fields Modifier and Type Field Description private final Booleansuccessprivate final BooleanupdateAvailableprivate final StringcurrentVersionprivate final StringerrorMessage
-
Constructor Summary
Constructors Constructor Description UpdateResult(Boolean success, Boolean updateAvailable, String currentVersion, String errorMessage)
-
Method Summary
Modifier and Type Method Description final BooleangetSuccess()Indicates whether the update process was successful. final BooleangetUpdateAvailable()Indicates whether a new update was available. final StringgetCurrentVersion()The current version after the update. final StringgetErrorMessage()Error message if the update failed. -
-
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.
-
-
-
-