Home Reference Source Repository
public class | source

RunJob

Extends:

backbone~Backbone.ModelBaseModel → RunJob

RunJob.

Method Summary

Public Methods
public

Return true iff the current user can lock as a manual RunJob.

public

Initialize.

public

parse(response: object): object

Override of Backbone.Model.parse.

Inherited Summary

From class BaseModel
public

destroy(options: object)

Override of destroy to allow for generic handling.

public

fetch(options: object)

Override of fetch to allow for generic handling.

public

Returns descriptive string for model.

public

Parses ID out of resource type URL.

public

save(attributes: object, options: object): *

Override of save to allow for generic handling.

public

url(): string

URL override to add trailing slash.

Public Methods

public available(): boolean source

Return true iff the current user can lock as a manual RunJob.

Return:

boolean

true iff the current user can lock as a manual RunJob

public initialize() source

Initialize.

public parse(response: object): object source

Override of Backbone.Model.parse. Sets the 'statusText' field.

Params:

NameTypeAttributeDescription
response object

JSON response from server

Return:

object

response object