Class EggplantResultsFolderWatcher

  • All Implemented Interfaces:
    java.lang.Runnable

    public class EggplantResultsFolderWatcher
    extends java.lang.Object
    implements java.lang.Runnable
    Watches a directory, and detects when ePF creates any image files Image files created will be sent as a message via the attached IMessageSender
    • Constructor Detail

      • EggplantResultsFolderWatcher

        public EggplantResultsFolderWatcher​(java.io.File resultsDirectory)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
    • Method Detail

      • attachImageSender

        public void attachImageSender​(IImageSender imageSender)
      • start

        public void start()
      • stop

        public void stop()
                  throws java.lang.InterruptedException,
                         java.io.IOException
        Throws:
        java.lang.InterruptedException
        java.io.IOException
      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable