Skip to content

Expression Languages

Matt Magoffin edited this page Sep 13, 2022 · 3 revisions

Some SolarNetwork services allow for expressions to be defined, so custom logic can be used. For example, some SolarNode datum source plugins allow expressions to be configured so data properties can be derived from other data captured from devices. Different expression languages can be used, so this page describes the languages supported by SolarNetwork.

For detailed information on expressions in SolarNode, see the SolarNode Expressions guide.

Root object

When an expression is evaluated, it will be given a root object that serves as the object that the expression can make references to (for example, read the properties of). You must consult the documentation for the service making use of expressions to understand what the root object is, and what properties it exposes to the expression.

Spel - Spring Expression Language

The Spel language is the default language used in SolarNetwork.

Clone this wiki locally