Skip to main content

@terascope/job-components / operation-loader/loader / OperationLoader

Class: OperationLoader

Constructors

new OperationLoader()

new OperationLoader(options): OperationLoader

Parameters

ParameterType
optionsLoaderOptions

Returns

OperationLoader

Source

packages/job-components/src/operation-loader/loader.ts:28

Properties

allowedFile()

allowedFile: (name) => boolean

Parameters

ParameterType
namestring

Returns

boolean

Source

packages/job-components/src/operation-loader/loader.ts:26

Methods

find()

find(name, assetIds?): Promise<FindOperationResults>

Parameters

ParameterType
namestring
assetIds?string[]

Returns

Promise<FindOperationResults>

Source

packages/job-components/src/operation-loader/loader.ts:90


loadAPI()

loadAPI(name, assetIds?): Promise<APIModule>

Parameters

ParameterType
namestring
assetIds?string[]

Returns

Promise<APIModule>

Source

packages/job-components/src/operation-loader/loader.ts:221


loadProcessor()

loadProcessor(name, assetIds?): Promise<ProcessorModule>

Parameters

ParameterType
namestring
assetIds?string[]

Returns

Promise<ProcessorModule>

Source

packages/job-components/src/operation-loader/loader.ts:140


loadReader()

loadReader(name, assetIds?): Promise<ReaderModule>

Parameters

ParameterType
namestring
assetIds?string[]

Returns

Promise<ReaderModule>

Source

packages/job-components/src/operation-loader/loader.ts:178