Skip to main content

Abstract Class: StepDefinition

An abstract class representing the definition of a step in the execution context.

Extended by​

Implements​

Constructors​

Constructor​

new StepDefinition(global, priority, transport, target, propertyKey, type): StepDefinition

Parameters​

global​

boolean

priority​

number

transport​

ExecutionTransport

target​

ClassType

propertyKey​

string | symbol

type​

StepType

Returns​

StepDefinition

Properties​

global​

readonly global: boolean


priority​

readonly priority: number


propertyKey​

readonly propertyKey: string | symbol

Implementation of​

ExecutionHandler.propertyKey


target​

readonly target: ClassType

Implementation of​

ExecutionHandler.target


transport​

readonly transport: ExecutionTransport


type​

readonly type: StepType

Methods​

fromMetadata()​

static fromMetadata(sMM, sTM): StepDefinition

Creates a step definition from the provided metadata.

Parameters​

sMM​

StepMethodMetadata

The method metadata for the step.

sTM​

StepTargetMetadata

The target metadata for the step.

Returns​

StepDefinition

A new step definition based on the metadata.