Skip to main content

Class: CheckStepDefinition

A class representing a guard step definition. It extends the StepDefinition class and specifies the step type as Guard.

Extends​

Constructors​

Constructor​

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

Parameters​

global​

boolean

priority​

number

transport​

ExecutionTransport

target​

ClassType

propertyKey​

string | symbol

type​

StepType

Returns​

CheckStepDefinition

Inherited from​

StepDefinition.constructor

Properties​

global​

readonly global: boolean

Inherited from​

StepDefinition.global


priority​

readonly priority: number

Inherited from​

StepDefinition.priority


propertyKey​

readonly propertyKey: string | symbol

Inherited from​

StepDefinition.propertyKey


target​

readonly target: ClassType

Inherited from​

StepDefinition.target


transport​

readonly transport: ExecutionTransport

Inherited from​

StepDefinition.transport


type​

readonly type: Guard

Overrides​

StepDefinition.type

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.

Inherited from​

StepDefinition.fromMetadata