Methods
run() → {Promise}
This runs the job's validation operation, validating the bag. It returns a promise.
- Source:
BagValidator validates a bag. It catches events from the underlying Validator, wraps them in JobStatus objects, and writes them to STDOUT and STDERR to communicate with the parent process.
param {Job} - The job to run. The job object must contain a BagItProfile and a ValidationOperation to be valid.
This runs the job's validation operation, validating the bag. It returns a promise.