Defined in: abstracts/AbstractRule.ts:6
Represents the base interface for all elements within the rules engine. Elements are the building blocks of scripts, pulses, actions, conditions, and parameters.
Extends
Extended by
Constructors
Constructor
new AbstractRule(
id,type,conditions,actions,options):AbstractRule
Defined in: abstracts/AbstractRule.ts:7
Parameters
id
string
type
string
conditions
ConditionInterface<ConditionOptions>[]
actions
ActionInterface<ActionOptions>[]
options
Returns
AbstractRule
Overrides
Properties
actions
readonlyactions:ActionInterface<ActionOptions>[]
Defined in: abstracts/AbstractRule.ts:11
conditions
readonlyconditions:ConditionInterface<ConditionOptions>[]
Defined in: abstracts/AbstractRule.ts:10
id
readonlyid:string
Defined in: abstracts/AbstractElement.ts:7
Unique identifier for the element instance.
Inherited from
options
readonlyoptions:RuleOptions
Defined in: abstracts/AbstractElement.ts:9
Configuration options specific to this element instance.
Inherited from
type
readonlytype:string
Defined in: abstracts/AbstractElement.ts:8
The registered type name of the element. This type is used by the Registry (Neuron) to look up the correct implementation.
Inherited from
Methods
toJSON()
abstracttoJSON():object
Defined in: abstracts/AbstractElement.ts:12
Returns
object
