@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:28
Properties
allowedFile()
allowedFile: (
name
) =>boolean
Parameters
Parameter | Type |
---|---|
name | string |
Returns
boolean
Source
packages/job-components/src/operation-loader/loader.ts:26
Methods
find()
find(
name
,assetIds
?):Promise
<FindOperationResults
>
Parameters
Parameter | Type |
---|---|
name | string |
assetIds ? | string [] |
Returns
Promise
<FindOperationResults
>
Source
packages/job-components/src/operation-loader/loader.ts:90
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:221
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:140
loadReader()
loadReader(
name
,assetIds
?):Promise
<ReaderModule
>
Parameters
Parameter | Type |
---|---|
name | string |
assetIds ? | string [] |
Returns
Promise
<ReaderModule
>