@terascope/job-components / builtin/delay/schema / default
Class: default
Defined in: job-components/src/builtin/delay/schema.ts:4
A base class for supporting convict style "Schema" definitions
Extends
Constructors
Constructor
new default(
context,opType):Schema
Defined in: job-components/src/operations/base-schema.ts:17
Parameters
| Parameter | Type | Default value |
|---|---|---|
context | Context | undefined |
opType | OpType | 'operation' |
Returns
Schema
Inherited from
Properties
| Property | Modifier | Type | Inherited from | Defined in |
|---|---|---|---|---|
context | protected | Context | default.context | job-components/src/operations/core/schema-core.ts:8 |
opType | readonly | OpType | default.opType | job-components/src/operations/core/schema-core.ts:9 |
schema | public | Terafoundation.Schema<S> | default.schema | job-components/src/operations/base-schema.ts:15 |
Methods
build()
build():
Record<string,any>
Defined in: job-components/src/builtin/delay/schema.ts:5
Returns
Record<string, any>
Overrides
validate()
Call Signature
validate(
inputConfig):APIConfig&DelayConfig
Defined in: job-components/src/operations/base-schema.ts:22
Parameters
| Parameter | Type |
|---|---|
inputConfig | Record<string, any> |
Returns
Inherited from
Call Signature
validate(
inputConfig):OpConfig&DelayConfig
Defined in: job-components/src/operations/base-schema.ts:23
Parameters
| Parameter | Type |
|---|---|
inputConfig | Record<string, any> |
Returns
Inherited from
validateJob()
validateJob(
_job):void
Defined in: job-components/src/operations/base-schema.ts:31
Parameters
| Parameter | Type |
|---|---|
_job | ValidatedJobConfig |
Returns
void
Inherited from
type()
statictype():string
Defined in: job-components/src/operations/base-schema.ts:35
Returns
string