JobRunner

JobRunner

JobRunner runs a Job in a child process.

Constructor

new JobRunner(job)

Parameters:
Name Type Description
job string

The job to run.

Source:

Methods

(async) createPackage()

This creates the package, which may be a bag, a zip file, a tar file, etc.

Source:

(async) run()

This runs the job and returns a the process's exit code. For a list of valid exit codes, see Constants.EXIT_CODES.

Source:

(async) uploadFiles()

This uploads files to each of the specified StorageService.

Source:

(async) validatePackage()

This validates the package. Currently, it only validates BagIt bags.

Source: