Defined in: plugins/parameters/SimpleNumberParameter.ts:4
Represents a configurable input value for Actions and Conditions. Parameters allow for reusable logic templates by decoupling the implementation from the values.
Extends
AbstractParameter<number>
Constructors
Constructor
new SimpleNumberParameter(
id,type,name,value,options,defaultValue?):SimpleNumberParameter
Defined in: abstracts/AbstractParameter.ts:9
Parameters
id
string
type
string
name
string
value
number | null
options
any
defaultValue?
number
Returns
SimpleNumberParameter
Inherited from
Properties
defaultValue?
readonlyoptionaldefaultValue?:number
Defined in: abstracts/AbstractParameter.ts:15
An optional fallback value if the primary value is missing or null.
Inherited from
AbstractParameter.defaultValue
id
readonlyid:string
Defined in: abstracts/AbstractElement.ts:7
Unique identifier for the element instance.
Inherited from
name
readonlyname:string
Defined in: abstracts/AbstractParameter.ts:12
The semantic name of the parameter (e.g., "recipient", "threshold").
Inherited from
options
readonlyoptions:any
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
value
value:
number|null
Defined in: abstracts/AbstractParameter.ts:13
The actual value assigned to the parameter.
Inherited from
TYPE
readonlystaticTYPE:"simple_number"="simple_number"
Defined in: plugins/parameters/SimpleNumberParameter.ts:5
Methods
getValue()
getValue(
_context):number|null
Defined in: plugins/parameters/SimpleNumberParameter.ts:7
Parameters
_context
Returns
number | null
Overrides
toJSON()
toJSON():
object
Defined in: abstracts/AbstractParameter.ts:22
Returns
object
