ConditionBlocksNamespace class
📖 Description
The ConditionBlocksNamespace
class holds all the condition blocks for a runner namespace. It used to supply ConditionBlock
instances for conditions.
🗃️ Fields
🏷️ identifier
Contains the namespace identifier.
Type
string
▶️ Methods
🔧 create
Creates a new instance of a condition block for the supplied condition and context.
Signature
create(condition: Condition, context: Context): ConditionBlock | undefined
Parameters
Name | Type | Optional | Description |
---|---|---|---|
condition | Condition | No | Reference to the condition. |
context | Context | No | Reference to the context. |
Return value
Returns a ConditionBlock
instance or undefined
if the block is invalid.