Class DBMappedEnumCheck


  • public class DBMappedEnumCheck
    extends java.lang.Object
    When a new version of the OMERO server starts up check that the database includes an enumeration instance for every value mapped for code generation.
    Since:
    5.3.0
    • Field Detail

      • executor

        protected final Executor executor
        executor useful for performing database adjustments
    • Method Detail

      • doCheck

        protected void doCheck()
        Do the database adjustment.
      • getCheckDone

        protected java.lang.String getCheckDone()
        Returns:
        a string identifying that the check is done, never null
      • start

        public void start()
        Do the database adjustment only if not already performed.
      • getOmeroVersion

        protected java.lang.String getOmeroVersion()
        Returns:
        a string representing the version and patch of this server