Class DBEnumCheck


  • public class DBEnumCheck
    extends java.lang.Object
    Hook run by the context to guarantee that various enumerations are up to date. This is especially important for changes to bioformats which add readers. Each reader is equivalent to a format ( + "Companion/"). Without such an extension, users are not able to import the latest and greatest without a database upgrade.
    Since:
    Beta4.1.1
    • 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