Package ome.services.util
Class DBUnicodeUnitsCheck
- java.lang.Object
-
- ome.services.util.DBUnicodeUnitsCheck
-
public class DBUnicodeUnitsCheck extends java.lang.Object
Checks that the database contains correctly encoded enumerations for units of measure.- Since:
- 5.1.2
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DBUnicodeUnitsCheck(Executor executor, ome.system.PreferenceContext preferences, ReadOnlyStatus readOnly)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doCheck()
Do the database adjustment.protected java.lang.String
getCheckDone()
protected java.lang.String
getOmeroVersion()
void
start()
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
-
-