Package | Description |
---|---|
gov.nasa.pds.tools.validate.rule |
Implementations of rules for checking compliance to data standards.
|
gov.nasa.pds.tools.validate.rule.pds3 | |
gov.nasa.pds.tools.validate.rule.pds4 |
Implementations of standards rules for the PDS4 data standard.
|
gov.nasa.pds.tools.validate.task |
Defines client-independent processing interfaces and classes for background tasks.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractFindTargets |
class |
AbstractValidationChain
Implements a command chain that also implements
ValidationRule , so we can distinguish
command chains that can be used for data validation. |
class |
AbstractValidationRule
The base class for validation rules.
|
class |
DummyValidationChain
Implements an empty validation chain that is never applicable.
|
class |
MarkSubdirectoriesReferenced
Implements a validation rule that marks all subdirectories as referenced.
|
class |
RecordValidationResults
Class intended to record the validation results.
|
class |
RegisterTargets
Implements a rule that inserts this target into the target registry, if not already present, and
also adds all of its child targets.
|
class |
SetReportHeader
Class intended to set the report header.
|
class |
StandardValidationChain
Implements a validation chain that is applicable if any of its contained validation commands are
applicable, and performs validation by invoking all of its contained commands in turn.
|
class |
UTF8ByteStreamRule
Tests that a file has only legal UTF-8 byte sequences.
|
Modifier and Type | Method and Description |
---|---|
ValidationRule |
ValidationRuleManager.findApplicableRule(String location)
Finds an applicable rule for the given location.
|
ValidationRule |
ValidationRuleManager.findRuleByCaption(String caption)
Finds a rule given its caption.
|
ValidationRule |
ValidationRuleManager.findRuleByName(String name)
Finds a validation rule by name.
|
ValidationRule |
RuleContext.getRule() |
Modifier and Type | Method and Description |
---|---|
List<ValidationRule> |
ValidationRuleManager.getValidators()
Gets the list of available validators.
|
Modifier and Type | Method and Description |
---|---|
void |
RuleContext.setRule(ValidationRule rule) |
Modifier and Type | Class and Description |
---|---|
class |
VolumeValidationRule
Implements a validation rule for PDS3 volumes.
|
Modifier and Type | Class and Description |
---|---|
class |
BundleContentsNamingRule
Implements a validation rule ensuring that only valid files and directories appear in the root
directory of a bundle.
|
class |
BundleReferentialIntegrityRule
Validation rule that performs referential integrity checking on a Product_Bundle product label.
|
class |
BundleValidationRule
Implements a validation chain that validates PDS4 bundles.
|
class |
CollectionInBundleRule
Implements a rule that iterates over subdirectories, treating each as a collection within a
bundle, and applying the PDS4 collection rules for each.
|
class |
CollectionReferentialIntegrityRule
Validation rule that performs referential integrity checking on a Product_Collection product
label.
|
class |
CollectionValidationRule
Implements a validation chain that validates PDS4 collections.
|
class |
ContextProductReferenceValidationRule
Class that checks that context products referenced in a product label exist in a supplied list of
registered context products at the Engineering Node.
|
class |
DataDefinitionAndContentValidationRule |
class |
DirectoryValidationRule
Implements a rule chain for validating PDS4 directories, but not necessarily bundles or
collections.
|
class |
FileAndDirectoryNamingChecker
Extend FileAndDirectoryNamingRule to enforcing file and directory naming standards without a
listener.
|
class |
FileAndDirectoryNamingRule
Implements a validation rule enforcing file and directory naming standards.
|
class |
FileReferenceValidationRule
Implements a rule to validate file references found in a label.
|
class |
FindUnreferencedFiles
Implements a validation rule that checks that all files are referenced by some label.
|
class |
FindUnreferencedIdentifiers
Implements a validation rule that checks that all identifiers are referenced by some label.
|
class |
LabelInFolderRule
Implements the rule that all files that look like labels in a folder must be valid labels.
|
class |
LabelValidationChain
Implements a validation chain for checking a single PDS4 label.
|
class |
LabelValidationRule
Implements a validation chain that validates PDS4 bundles.
|
class |
LocalIdentifierReferencesRule
This class checks that local identifiers referenced in a label exist in that label.
|
class |
RegisterLabelIdentifiers
Registers identifiers defined within a label, and verifies that the same identifier is not
registered twice.
|
class |
RegisterTargetReferences
Registers file references from the label, as well as an implied reference to the label itself.
|
class |
SubdirectoryNamingRule
Implements a rule that checks for children of a directory using illegal names.
|
class |
SubDirectoryRule
Implements a rule that iterates over subdirectories, validating each as a PDS4 folder.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationTask.setRule(ValidationRule rule)
Sets the validation rule to use.
|
Copyright © 2022 Jet Propulsion Laboratory, California Institute of Technology. All rights reserved.