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