Class: JobInfo

JobInfo(parameters)

new JobInfo(parameters)

Class describing an executor job. The data is used for communication between the initiator/a monitor of the job and the worker executing the job.

Parameters:
Name Type Description
parameters object
Properties
Name Type Description
hash hash

Job identifier.

Source:

Members

createTime :string

Timestamp of when the job was created.

Type:
Source:

finishTime :string

Timestamp of when the job execution finished on the worker.

Type:
Source:

hash :string

Job identifier.

Type:
Source:

labels :Array.<string>

Array of labels for the job.

Type:
Source:

outputNumber :number

The (id) outputNumber (0, 1, 2, ...) of the latest OutputInfo (for this job) available on the server. When no output is available the number is null.

Type:
Source:

resultHashes :Array.<string>

Array of hashes to Artifacts containing each requested result.

Type:
Source:

resultSuperSet :string

Hash to an Artifact containing the union of all requests results.

Type:
Source:

startTime :string

Timestamp of when the job execution started by a worker.

Type:
Source:

status :string

Current status of the job.

Type:
Source:

worker :string

Id/label of the worker processing the job.

Type:
Source:

(static) finishedStatuses :Array.<string>

Array of statuses where the job hash finished and won't proceed.

Type:
Source:

Methods

(static) isFailedFinishedStatus(status) → {boolean}

Returns true if the provided status is a failed finished status.

Parameters:
Name Type Description
status string

The status of a job.

Source:
Returns:
Type
boolean

(static) isFinishedStatus(status) → {boolean}

Returns true of the provided status is a finished status.

Parameters:
Name Type Description
status string

The status of a job.

Source:
Returns:
Type
boolean