Class AutoValidateTask

java.lang.Object
ca.phon.worker.PhonTask
ca.phon.app.session.editor.view.ipa_validation.AutoValidateTask
All Implemented Interfaces:
Runnable

public class AutoValidateTask extends PhonTask
Auto-validate ipa fields for a session. How data is validated: - if only one user has a transcription entered that transcription will be used - if all transcriptions are the same, the transcription is used - if transcriptions are different the transcriptions from the preferred transcriber (by default the first transcriber in the list) is used
  • Constructor Details

    • AutoValidateTask

      public AutoValidateTask(Session t)
    • AutoValidateTask

      public AutoValidateTask(Session t, Transcriber tr)
  • Method Details

    • getPreferredTranscriber

      public Transcriber getPreferredTranscriber()
    • setPreferredTranscriber

      public void setPreferredTranscriber(Transcriber t)
    • performTask

      public void performTask()
      Description copied from class: PhonTask
      The abstract run method. This method must be implemented by all subclasses.
      Specified by:
      performTask in class PhonTask
    • getUndoableEdit

      public UndoableEdit getUndoableEdit()
    • isValidateTarget

      public boolean isValidateTarget()
    • setValidateTarget

      public void setValidateTarget(boolean validateTarget)
    • isValidateActual

      public boolean isValidateActual()
    • setValidateActual

      public void setValidateActual(boolean validateActual)
    • isOverwriteData

      public boolean isOverwriteData()
    • setOverwriteData

      public void setOverwriteData(boolean overwriteData)
    • getRecordFilter

      public RecordFilter getRecordFilter()
    • setRecordFilter

      public void setRecordFilter(RecordFilter recordFilter)