public class PluginToDatabaseUpdate extends Object implements ISystemUpdate
Constructor and Description |
---|
PluginToDatabaseUpdate() |
Modifier and Type | Method and Description |
---|---|
void |
exec()
Executes the system update
|
String |
getDescription(Locale loc)
Gets an Description of the update which should be shown in the ui.
|
String |
getUUID()
Gets an String for identifying an update.
|
boolean |
needsToRun()
Checks if an update needs to run at all.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compareTo, shouldBeAfter
public String getUUID()
ISystemUpdate
getUUID
in interface ISystemUpdate
String
UUID of the updatepublic String getDescription(Locale loc)
ISystemUpdate
CmnConst.DFLT_LOCALE
getDescription
in interface ISystemUpdate
loc
- Locale
the current ui localeString
public boolean needsToRun()
ISystemUpdate
needsToRun
in interface ISystemUpdate
Boolean
if the update is neededpublic void exec()
ISystemUpdate
exec
in interface ISystemUpdate
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.