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
target
propertyKey
string | symbol
type
Returns
CheckStepDefinition
Inherited from
Properties
global
readonlyglobal:boolean
Inherited from
priority
readonlypriority:number
Inherited from
propertyKey
readonlypropertyKey:string|symbol
Inherited from
target
readonlytarget:ClassType
Inherited from
transport
readonlytransport:ExecutionTransport
Inherited from
type
readonlytype:Guard
Overrides
Methods
fromMetadata()
staticfromMetadata(sMM,sTM):StepDefinition
Creates a step definition from the provided metadata.
Parameters
sMM
The method metadata for the step.
sTM
The target metadata for the step.
Returns
A new step definition based on the metadata.