Class TransformJob
Package: @mcma/core
Constructors
TransformJob(JobProperties)
Declaration
new TransformJob(properties: JobProperties)
Parameters
Type | Name | Description |
---|---|---|
JobProperties | properties |
Properties
@type
Declaration
@type: string
Property Value
Type | Description |
---|---|
string |
custom
Declaration
custom?: [key: string]: any
Property Value
Type | Description |
---|---|
[key: string]: any |
dateCreated
Declaration
dateCreated?: Date
Property Value
Type | Description |
---|---|
Date |
dateModified
Declaration
dateModified?: Date
Property Value
Type | Description |
---|---|
Date |
deadline
Declaration
deadline?: Date
Property Value
Type | Description |
---|---|
Date |
error
Declaration
error?: ProblemDetail
Property Value
Type | Description |
---|---|
ProblemDetail |
id
Declaration
id?: string
Property Value
Type | Description |
---|---|
string |
jobInput
Declaration
jobInput?: JobParameterBag
Property Value
Type | Description |
---|---|
JobParameterBag |
jobOutput
Declaration
jobOutput?: JobParameterBag
Property Value
Type | Description |
---|---|
JobParameterBag |
jobProfileId
Declaration
jobProfileId: string
Property Value
Type | Description |
---|---|
string |
notificationEndpoint
Declaration
notificationEndpoint?: NotificationEndpointProperties
Property Value
Type | Description |
---|---|
NotificationEndpointProperties |
parentId
Declaration
parentId?: string
Property Value
Type | Description |
---|---|
string |
progress
Declaration
progress?: number
Property Value
Type | Description |
---|---|
number |
status
Declaration
status?: JobStatus
Property Value
Type | Description |
---|---|
JobStatus |
timeout
Declaration
timeout?: number
Property Value
Type | Description |
---|---|
number |
tracker
Declaration
tracker?: McmaTrackerProperties
Property Value
Type | Description |
---|---|
McmaTrackerProperties |
Methods
onCreate(string)
Declaration
function onCreate(id: string)
Parameters
Type | Name | Description |
---|---|---|
string | id |
onUpsert(string)
Declaration
function onUpsert(id: string)
Parameters
Type | Name | Description |
---|---|---|
string | id |