Package qa.generator

Class QAGeneratorProcess

All Implemented Interfaces:
PamObserver, ProcessAnnotator

public class QAGeneratorProcess extends QADataProcess
  • Constructor Details

    • QAGeneratorProcess

      public QAGeneratorProcess(QAControl qaControl)
  • Method Details

    • setupProcess

      public void setupProcess()
      Description copied from class: PamProcess
      called for every process once the systemmodel has been created. this is a good time to check out and find input data blocks and similar tasks.
      Overrides:
      setupProcess in class PamProcess
    • prepareProcess

      public void prepareProcess()
      Description copied from class: PamProcess
      Called for each process before any of them receive the PamStart command
      Overrides:
      prepareProcess in class PamProcess
    • pamStart

      public void pamStart()
      Description copied from class: PamProcess
      Called for each process to tell it to start (may not be necessary for processes which are listening for data anyway).
      Overrides:
      pamStart in class QADataProcess
    • pamStop

      public void pamStop()
      Description copied from class: PamProcess
      Stops the process.
      Overrides:
      pamStop in class QADataProcess
    • addTestSet

      public QATestDataUnit addTestSet(String testType, QACluster cluster, QALocationGenerator locationGenerator)
    • addTestSet

      public void addTestSet(QATestDataUnit testDataUnit)
    • newData

      public void newData(PamObservable o, PamDataUnit arg)
      Overrides:
      newData in class PamProcess
    • getSpreadingModel

      public PropagationModel getSpreadingModel()
      Returns:
      the spreadingModel
    • setSpreadingModel

      public void setSpreadingModel(PropagationModel spreadingModel)
      Parameters:
      spreadingModel - the spreadingModel to set
    • cancelTest

      public void cancelTest(QATestDataUnit dataUnit)
      Called to cancel a test.
      Parameters:
      dataUnit -
    • getCurrentSample

      public long getCurrentSample()
      Returns:
      the currentSample
    • getNumCurrentSequences

      public int getNumCurrentSequences()
      Returns:
      Get the number of currently active sequences.
    • notifyNewRangeFactor

      public void notifyNewRangeFactor()
      called when range factor has changed - need to update all random tests.