Class DBUnicodeUnitsCheck


  • public class DBUnicodeUnitsCheck
    extends java.lang.Object
    Checks that the database contains correctly encoded enumerations for units of measure.
    Since:
    5.1.2
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Executor executor
      executor useful for performing database adjustments
      static org.slf4j.Logger LOGGER  
    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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