JobController

JobController

The JobController handles processing to list all jobs and create new jobs. The process of defining which files are part of Job, how files should be packaged, and where the should be uploaded are handled by other controllers.

Constructor

new JobController(params)

Parameters:
Name Type Description
params URLSearchParams

The URL search params parsed from the URL used to reach this page. This should contain at least the Job Id.

Properties
Name Type Description
id string

The id of the Job being worked on. Job.id is a UUID string.

Source:

Methods

colorCodeJobs()

This adds some custom display properties to each jobs hash so we can color-code the display.

Source:

list()

Lists all Jobs in the local Jobs database.

Source:

new()

This method creates a new Job.

Source: