@terascope/job-components / operation-loader/loader / OperationLoader
Class: OperationLoader
Constructors
new OperationLoader()
new OperationLoader(
options
):OperationLoader
Parameters
Parameter | Type |
---|---|
options | LoaderOptions |
Returns
Source
packages/job-components/src/operation-loader/loader.ts:30
Properties
allowedFile()
allowedFile: (
name
) =>boolean
Parameters
Parameter | Type |
---|---|
name | string |
Returns
boolean
Source
packages/job-components/src/operation-loader/loader.ts:28
Methods
find()
find(
name
,assetIds
):Promise
<FindOperationResults
[]>
Parameters
Parameter | Type | Default value |
---|---|---|
name | string | undefined |
assetIds | string [] | [] |
Returns
Promise
<FindOperationResults
[]>
Source
packages/job-components/src/operation-loader/loader.ts:348
loadAPI()
loadAPI(
name
,assetIds
?):Promise
<APIModule
>
Parameters
Parameter | Type |
---|---|
name | string |
assetIds ? | string [] |
Returns
Promise
<APIModule
>
Source
packages/job-components/src/operation-loader/loader.ts:192
loadProcessor()
loadProcessor(
name
,assetIds
?):Promise
<ProcessorModule
>
Parameters
Parameter | Type |
---|---|
name | string |
assetIds ? | string [] |
Returns
Promise
<ProcessorModule
>
Source
packages/job-components/src/operation-loader/loader.ts:43
loadReader()
loadReader(
name
,assetIds
?):Promise
<ReaderModule
>
Parameters
Parameter | Type |
---|---|
name | string |
assetIds ? | string [] |
Returns
Promise
<ReaderModule
>