Scheduler

Inclusion code:

Service Deployment
Port NameLocationProtocolInterfaces
Scheduler documentation:
Scheduler--SchedulerInterface

List of Available Interfaces

SchedulerInterface

Interface documentation:

Operation NameInput TypeOutput TypeFaults
setCronJobSetCronJobRequestvoidJobAlreadyExists( void )
deleteCronJobDeleteCronJobRequestvoid
setCallbackOperationSetCallBackOperationRequest-

Operation Description

setCronJob

Operation documentation:

Invocation template:

setCronJob@Scheduler( request )( response )

Request type

Type: SetCronJobRequest

type SetCronJobRequest: void {
    .jobName: string
    .cronSpecs: void {
        .dayOfWeek: string
        .hour: string
        .month: string
        .dayOfMonth: string
        .year?: string
        .second: string
        .minute: string
    }
    .groupName: string
}

SetCronJobRequest : void

  • jobName : string
  • cronSpecs : void
    • dayOfWeek : string
    • hour : string
    • month : string
    • dayOfMonth : string
    • year : string
    • second : string
    • minute : string
  • groupName : string

Response type

Type: void

void : void

Possible faults thrown

Fault JobAlreadyExists with type void

Fault-handling install template:

install ( JobAlreadyExists => /* error-handling code */ )

deleteCronJob

Operation documentation:

Invocation template:

deleteCronJob@Scheduler( request )( response )

Request type

Type: DeleteCronJobRequest

type DeleteCronJobRequest: void {
    .jobName: string
    .groupName: string
}

DeleteCronJobRequest : void

  • jobName : string
  • groupName : string

Response type

Type: void

void : void

setCallbackOperation

Operation documentation:

Invocation template:

setCallbackOperation@Scheduler( request )

Request type

Type: SetCallBackOperationRequest

type SetCallBackOperationRequest: void {
    .operationName: string
}

SetCallBackOperationRequest : void

  • operationName : string