Class DetectorWorker<K extends AbstractModelTaskRawResult>

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected IDetector parent
      IDetector Instance which built this worker
    • Constructor Summary

      Constructors 
      Constructor Description
      DetectorWorker​(IDetector parent)
      Constructor for workers
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      abstract void execute()
      Do work and create the results
      abstract K getRawResult()
      Gets the results of the worker execution, only minimal processing should be performed in this method
      • Methods inherited from class java.lang.Object

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

      • DetectorWorker

        public DetectorWorker​(IDetector parent)
        Constructor for workers
        Parameters:
        parent - IDetector instance which built this worker
    • Method Detail

      • execute

        public abstract void execute()
        Do work and create the results
      • getRawResult

        public abstract K getRawResult()
        Gets the results of the worker execution, only minimal processing should be performed in this method
        Returns:
        worker results