IScriptJobList

class

IScriptJobList.

IScriptJobList

Bases: object

Provides access to jobs.

create

title

Creates a new job. Job is not automatically added. job.commit() must be called.

Parameters

title (string) -- The title.

Returns

The job

Return type

all

Retrieves the jobs.

Type

Array of IScriptJob

by_id

job_guid

Retrieves job by specified job id.

Parameters

job_guid (Guid) -- The job id.

Returns

The job

Return type

by_issuer

issuer

Retrieves the jobs of specified issuer.

Parameters

issuer (string) -- The issuer.

Returns

The jobs

Return type

IScriptJob[]

by_assigned_to

assigned_to

Retrieves the jobs of specified "assigned to".

Parameters

assigned_to (string) -- The assigned to.

Returns

The jobs

Return type

IScriptJob[]

by_type

type

Retrieves the jobs with specified job type.

Parameters

type (JobTypes) -- The job type.

Returns

The jobs

Return type

IScriptJob[]

by_state

state

Retrieves the jobs with specified job state.

Parameters

state (JobStates) -- The job state.

Returns

The jobs

Return type

IScriptJob[]

by_urgency

urgency

Retrieves the jobs with specified job urgency.

Parameters

urgency (JobUrgencies) -- The job urgency.

Returns

The jobs

Return type

IScriptJob[]

by_contains_tag

*tag

Retrieves the jobs with specified tag.

Parameters

tag (string[]) -- The tag.

Returns

The jobs

Return type

IScriptJob[]