@terascope/job-components / operations/core/schema-core / default
Abstract Class: default<T>
Defined in: job-components/src/operations/core/schema-core.ts:8
A base class for supporting "Schema" definition
Extended by
Type Parameters
| Type Parameter |
|---|
T |
Constructors
Constructor
new default<
T>(context,opType):SchemaCore<T>
Defined in: job-components/src/operations/core/schema-core.ts:12
Parameters
| Parameter | Type |
|---|---|
context | Context |
opType | OpType |
Returns
SchemaCore<T>
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
context | protected | Context | job-components/src/operations/core/schema-core.ts:9 |
opType | readonly | OpType | job-components/src/operations/core/schema-core.ts:10 |
Methods
build()
abstractbuild(context?):any
Defined in: job-components/src/operations/core/schema-core.ts:17
Parameters
| Parameter | Type |
|---|---|
context? | Context |
Returns
any
validate()
abstractvalidate(inputConfig):object
Defined in: job-components/src/operations/core/schema-core.ts:18
Parameters
| Parameter | Type |
|---|---|
inputConfig | Record<string, any> |
Returns
object
config
config:
OpConfig&T
warnings
warnings:
JobWarning[]
validateJob()?
abstractoptionalvalidateJob(job):void
Defined in: job-components/src/operations/core/schema-core.ts:21
Parameters
| Parameter | Type |
|---|---|
job | ValidatedJobConfig |
Returns
void