Defined in: abstracts/AbstractElement.ts:3
Represents the base interface for all elements within the rules engine. Elements are the building blocks of scripts, pulses, actions, conditions, and parameters.
Extended by
Type Parameters
TOptions
TOptions = any
The type of configuration options for this element.
Implements
ElementInterface<TOptions>
Constructors
Constructor
new AbstractElement<
TOptions>(id,type,options):AbstractElement<TOptions>
Defined in: abstracts/AbstractElement.ts:6
Parameters
id
string
type
string
options
TOptions
Returns
AbstractElement<TOptions>
Properties
id
readonlyid:string
Defined in: abstracts/AbstractElement.ts:7
Unique identifier for the element instance.
Implementation of
options
readonlyoptions:TOptions
Defined in: abstracts/AbstractElement.ts:9
Configuration options specific to this element instance.
Implementation of
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.
Implementation of
Methods
toJSON()
abstracttoJSON():object
Defined in: abstracts/AbstractElement.ts:12
Returns
object
