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:30

Properties

allowedFile()

allowedFile: (name) => boolean

Parameters

ParameterType
namestring

Returns

boolean

Source

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

Methods

find()

find(name, assetIds): Promise<FindOperationResults[]>

Parameters

ParameterTypeDefault value
namestringundefined
assetIdsstring[][]

Returns

Promise<FindOperationResults[]>

Source

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


loadAPI()

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

Parameters

ParameterType
namestring
assetIds?string[]

Returns

Promise<APIModule>

Source

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


loadProcessor()

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

Parameters

ParameterType
namestring
assetIds?string[]

Returns

Promise<ProcessorModule>

Source

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


loadReader()

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

Parameters

ParameterType
namestring
assetIds?string[]

Returns

Promise<ReaderModule>

Source

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