import PeriodicityUpdateBuilder from 'opengate-js/src/operations/catalog/period/PeriodicityUpdateBuilder.js'PeriodicityUpdateBuilder
Constructor Summary
| Public Constructor | ||
| public |
constructor(ogapi: *, taskId: *, taskObj: *) |
|
Member Summary
| Public Members | ||
| public |
task_id: * |
|
Method Summary
| Public Methods | ||
| public |
build(): * |
|
| public |
executeEach(date: Date, end: number or Date): ExecuteEach The operation will execute with a period that you must define with ExecuteEachBuilder |
|
| public |
executeEvery(date: Date, end: number or Date): ExecuteEvery The operation will execute with a period that you must define with ExecuteEveryBuilder |
|
Public Constructors
public constructor(ogapi: *, taskId: *, taskObj: *) source
Params:
| Name | Type | Attribute | Description |
| ogapi | * | ||
| taskId | * | ||
| taskObj | * |
Public Members
public task_id: * source
Public Methods
public executeEach(date: Date, end: number or Date): ExecuteEach source
The operation will execute with a period that you must define with ExecuteEachBuilder
Params:
| Name | Type | Attribute | Description |
| date | Date |
|
Date when operation will be executed |
| end | number or Date | When periodicity ends. By repetitions or by date |
Return:
| ExecuteEach |
Throw:
throw error when date is not typeof Date |
public executeEvery(date: Date, end: number or Date): ExecuteEvery source
The operation will execute with a period that you must define with ExecuteEveryBuilder
Params:
| Name | Type | Attribute | Description |
| date | Date |
|
Date when operation will be executed |
| end | number or Date | When periodicity ends. By repetitions or by date |
Return:
| ExecuteEvery |
Throw:
throw error when date is not typeof Date |