Class AutoValidateTask
java.lang.Object
ca.phon.worker.PhonTask
ca.phon.app.session.editor.view.ipa_validation.AutoValidateTask
- All Implemented Interfaces:
Runnable
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
-
Nested Class Summary
Nested classes/interfaces inherited from class ca.phon.worker.PhonTask
PhonTask.TaskStatus
-
Field Summary
Fields inherited from class ca.phon.worker.PhonTask
err, PROGRESS_PROP, props, STATUS_PROP
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
void
The abstract run method.void
setOverwriteData
(boolean overwriteData) void
void
setRecordFilter
(RecordFilter recordFilter) void
setValidateActual
(boolean validateActual) void
setValidateTarget
(boolean validateTarget) Methods inherited from class ca.phon.worker.PhonTask
addTaskListener, firePropertyChange, fireStatusChange, getException, getName, getProperty, getRunTime, getStartTime, getStatus, isShutdown, removeTaskListener, run, setName, setProperty, setStatus, shutdown
-
Constructor Details
-
AutoValidateTask
-
AutoValidateTask
-
-
Method Details
-
getPreferredTranscriber
-
setPreferredTranscriber
-
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 classPhonTask
-
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
-
setRecordFilter
-