Class BatchTrainingWorker

java.lang.Object
javax.swing.SwingWorker<Integer,BatchTrainingProgress>
whistleClassifier.training.BatchTrainingWorker
All Implemented Interfaces:
Runnable, Future<Integer>, RunnableFuture<Integer>

public class BatchTrainingWorker extends SwingWorker<Integer,BatchTrainingProgress>
  • Constructor Details

  • Method Details

    • stopNow

      public void stopNow()
    • setStatus

      public void setStatus(ClassifierTrainingProgress bootstrapProgress)
      this should get status messages back from the main bootstrap dialog. These probably arrive in the AWT thread, so the swing worker thread will just have to monitor these flags and wait for them to change before it can proceed.
      Parameters:
      statusMessage -
      statusValue -