Class ServerDirectoryCheck

  • All Implemented Interfaces:
    java.lang.Runnable

    public class ServerDirectoryCheck
    extends java.lang.Object
    implements java.lang.Runnable
    Hook run by the context at startup to create needed directories for the server.
    Since:
    4.3.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger log  
    • Constructor Summary

      Constructors 
      Constructor Description
      ServerDirectoryCheck​(java.lang.String omeroDataDir, java.lang.String omeroManagedDir, ReadOnlyStatus readOnly)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()
      Ensures that directories exist corresponding to, ${omero.data.dir}/FullText ${omero.managed.dir}
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • log

        public static final org.slf4j.Logger log
    • Constructor Detail

      • ServerDirectoryCheck

        public ServerDirectoryCheck​(java.lang.String omeroDataDir,
                                    java.lang.String omeroManagedDir,
                                    ReadOnlyStatus readOnly)
    • Method Detail

      • run

        public void run()
        Ensures that directories exist corresponding to,
        • ${omero.data.dir}/FullText
        • ${omero.managed.dir}
        Specified by:
        run in interface java.lang.Runnable