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 |
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 |
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.
|
Modifier and Type | Method and Description |
---|---|
List<ValidationRule> |
ValidationRuleManager.getValidators()
Gets the list of available validators.
|
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 |
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 |
CollectionValidationRule
Implements a validation chain that validates PDS4 collections.
|
class |
DirectoryValidationRule
Implements a rule chain for validating PDS4 directories, but not
necessarily bundles or collections.
|
class |
FileAndDirectoryNamingRule
Implements a validation rule enforcing file and directory
naming standards.
|
class |
FindUnreferencedFiles
Implements a validation rule that checks that all files 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 |
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.
|
class |
TableFieldDefinitionRule
Implements a validation rule that checks that fields of tables
are defined in order, that they do not overlap, and that the
fields do not extend outside the record.
|
Modifier and Type | Method and Description |
---|---|
void |
ValidationTask.setRule(ValidationRule rule)
Sets the validation rule to use.
|
Copyright © 2010–2016 Planetary Data System. All rights reserved.