Package ome.services.util
Class DBUnicodeUnitsCheck
- java.lang.Object
-
- ome.services.util.DBUnicodeUnitsCheck
-
public class DBUnicodeUnitsCheck extends java.lang.ObjectChecks that the database contains correctly encoded enumerations for units of measure.- Since:
- 5.1.2
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedDBUnicodeUnitsCheck(Executor executor, ome.system.PreferenceContext preferences, ReadOnlyStatus readOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddoCheck()Do the database adjustment.protected java.lang.StringgetCheckDone()protected java.lang.StringgetOmeroVersion()voidstart()Do the database adjustment only if not already performed.
-
-
-
Field Detail
-
LOGGER
public static final org.slf4j.Logger LOGGER
-
executor
protected final Executor executor
executor useful for performing database adjustments
-
-
Constructor Detail
-
DBUnicodeUnitsCheck
protected DBUnicodeUnitsCheck(Executor executor, ome.system.PreferenceContext preferences, ReadOnlyStatus readOnly)
-
-
Method Detail
-
doCheck
protected void doCheck()
Do the database adjustment.
-
start
public void start()
Do the database adjustment only if not already performed.
-
getCheckDone
protected java.lang.String getCheckDone()
- Returns:
- a string identifying that the check is done, never
null
-
getOmeroVersion
protected java.lang.String getOmeroVersion()
- Returns:
- a string representing the version and patch of this server
-
-