Package gov.nasa.pds.web.ui.utils
Class DataSetValidator
- java.lang.Object
-
- java.util.Observable
-
- gov.nasa.pds.web.ui.utils.DataSetValidator
-
public class DataSetValidator extends Observable
-
-
Field Summary
Fields Modifier and Type Field Description protected gov.nasa.pds.tools.dict.Dictionarydictionaryprotected ValidationResultsresults
-
Constructor Summary
Constructors Constructor Description DataSetValidator(String procId, File baseDirectory)DataSetValidator(String procId, File baseDirectory, StatusContainer status)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static gov.nasa.pds.tools.dict.DictionarygetMasterDictionary()static gov.nasa.pds.tools.dict.DictionarygetMasterDictionaryCopy()ValidationResultsgetResults()StatusContainergetStatus()protected voidinitDictionary()static voidinitMasterDDSerialized()protected static voidinitMasterDictionary()static voidinitMasterDictionary(URL dictionaryURL)voidsendBucket()protected voidsetVolume(File baseDir)voidvalidate()protected LabelContainervalidateLabel(File labelFile)protected LabelContainervalidateLabel(File labelFile, boolean forceValidate)-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Field Detail
-
dictionary
protected gov.nasa.pds.tools.dict.Dictionary dictionary
-
results
protected ValidationResults results
-
-
Constructor Detail
-
DataSetValidator
public DataSetValidator(String procId, File baseDirectory, StatusContainer status)
-
-
Method Detail
-
getStatus
public StatusContainer getStatus()
-
setVolume
protected void setVolume(File baseDir)
-
validate
public void validate() throws CancelledException- Throws:
CancelledException
-
getResults
public ValidationResults getResults()
-
sendBucket
public void sendBucket()
-
validateLabel
protected LabelContainer validateLabel(File labelFile)
-
validateLabel
protected LabelContainer validateLabel(File labelFile, boolean forceValidate)
-
initDictionary
protected void initDictionary()
-
initMasterDictionary
public static void initMasterDictionary(URL dictionaryURL)
-
initMasterDictionary
protected static void initMasterDictionary()
-
getMasterDictionary
public static gov.nasa.pds.tools.dict.Dictionary getMasterDictionary()
-
initMasterDDSerialized
public static void initMasterDDSerialized()
-
getMasterDictionaryCopy
public static gov.nasa.pds.tools.dict.Dictionary getMasterDictionaryCopy()
-
-