Uses of Interface
gov.nasa.pds.tools.validate.rule.ValidationRule
-
Packages that use ValidationRule 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. -
-
Uses of ValidationRule in gov.nasa.pds.tools.validate.rule
Classes in gov.nasa.pds.tools.validate.rule that implement ValidationRule Modifier and Type Class Description class
AbstractFindTargets
class
AbstractValidationChain
Implements a command chain that also implementsValidationRule
, 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.Methods in gov.nasa.pds.tools.validate.rule that return ValidationRule Modifier and Type Method 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()
Methods in gov.nasa.pds.tools.validate.rule that return types with arguments of type ValidationRule Modifier and Type Method Description List<ValidationRule>
ValidationRuleManager. getValidators()
Gets the list of available validators.Methods in gov.nasa.pds.tools.validate.rule with parameters of type ValidationRule Modifier and Type Method Description void
RuleContext. setRule(ValidationRule rule)
-
Uses of ValidationRule in gov.nasa.pds.tools.validate.rule.pds3
Classes in gov.nasa.pds.tools.validate.rule.pds3 that implement ValidationRule Modifier and Type Class Description class
VolumeValidationRule
Implements a validation rule for PDS3 volumes. -
Uses of ValidationRule in gov.nasa.pds.tools.validate.rule.pds4
Classes in gov.nasa.pds.tools.validate.rule.pds4 that implement ValidationRule Modifier and Type Class 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. -
Uses of ValidationRule in gov.nasa.pds.tools.validate.task
Methods in gov.nasa.pds.tools.validate.task with parameters of type ValidationRule Modifier and Type Method Description void
ValidationTask. setRule(ValidationRule rule)
Sets the validation rule to use.
-