discontinuedPackage thingsboard_pe_client has been discontinued and replaced by thingsboard_client.

RuleNode class abstract

RuleNode

Properties:

  • id - JSON object with the Rule Node Id. Specify this field to update the Rule Node. Referencing non-existing Rule Node Id will cause error. Omit this field to create new rule node.
  • createdTime - Timestamp of the rule node creation, in milliseconds
  • additionalInfo - Additional parameters of the rule node. May include: 'layoutX' (number, X coordinate for visualization), 'layoutY' (number, Y coordinate for visualization), 'description' (string).
  • ruleChainId - JSON object with the Rule Chain Id.
  • type - Full Java Class Name of the rule node implementation.
  • name - User defined name of the rule node. Used on UI and for logging.
  • debugSettings - Debug settings object.
  • singletonMode - Enable/disable singleton mode.
  • queueName - Queue name.
  • configurationVersion - Version of rule node configuration.
  • configuration - JSON with the rule node configuration. Structure depends on the rule node implementation.
  • externalId
  • debugMode
Annotations
  • @BuiltValue.new()

Constructors

RuleNode([void updates(RuleNodeBuilder b)])
factory

Properties

additionalInfo → JsonObject?
Additional parameters of the rule node. May include: 'layoutX' (number, X coordinate for visualization), 'layoutY' (number, Y coordinate for visualization), 'description' (string).
no setter
configuration → JsonObject?
JSON with the rule node configuration. Structure depends on the rule node implementation.
no setter
configurationVersion → int?
Version of rule node configuration.
no setter
createdTime → int?
Timestamp of the rule node creation, in milliseconds
no setter
debugMode → bool?
no setter
debugSettings → DebugSettings?
Debug settings object.
no setter
externalId → RuleNodeId?
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → RuleNodeId?
JSON object with the Rule Node Id. Specify this field to update the Rule Node. Referencing non-existing Rule Node Id will cause error. Omit this field to create new rule node.
no setter
name → String?
User defined name of the rule node. Used on UI and for logging.
no setter
queueName → String?
Queue name.
no setter
ruleChainId → RuleChainId?
JSON object with the Rule Chain Id.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
singletonMode → bool?
Enable/disable singleton mode.
no setter
type → String?
Full Java Class Name of the rule node implementation.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(RuleNodeBuilder)) → RuleNode
Rebuilds the instance.
inherited
toBuilder() → RuleNodeBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

serializer → Serializer<RuleNode>
no setter