Hi,
can someone please give me a hint how to parse expressions in a NotificationProfileProperty?
I figured out how to get the raw value of the property from the NotificationContext, but now have no idea how to parse this raw message to resolve the referenced properties.
In the javadocs there’s a class AlarmEventCollectionExpressionParseContext that seems to be related, but there’s no description of the implementation.
A little example would be great.
Thank you, that helped. Now that i understand the concept of nested parse contexts and the use of the Parser class it makes sense.
The LegacyAlertPropParseContext must be a non-api class, so i simply left it away.
[quote]Pretty straightforward… right? right? eh…[/quote]Yes, that’s what i always tell people when i got no time for documentation: That’s totally straight forward, you don’t need documentation.
Works perfect until ten years later, when i’m called to repair a machine and wonder what ### wrote that ### code. Normally i realize after some minutes that it was me .