public interface NodeContext
Modifier and Type | Method and Description |
---|---|
void |
dispatchScriptEvent(java.lang.String id,
java.lang.Object... params)
Fires a script event of the given id, with the specified parameters.
|
ExpressionParseContext |
getExpressionParseContext() |
NodeId |
getId() |
TagPath |
getPath()
Returns the full path of the node.
|
BoundPropertySet |
getPropertyModel()
Returns the property model of the node.
|
ProviderContext |
getProviderContext() |
boolean |
isLeased()
Indicates whether the node is "leased", which means it has a heavy-weight subscription on it.
|
boolean |
isPropertyDynamic(Property<?> prop)
Indicates that the given property is bound or otherwise dynamic.
|
<T> void |
persistProperty(Property<T> prop,
T value)
This requests that the given property value be saved persistently.
|
void |
save()
Requests that the system save the full local config of the node.
|
ProviderContext getProviderContext()
NodeId getId()
TagPath getPath()
BoundPropertySet getPropertyModel()
boolean isLeased()
ExpressionParseContext getExpressionParseContext()
void dispatchScriptEvent(java.lang.String id, java.lang.Object... params)
<T> void persistProperty(Property<T> prop, T value)
boolean isPropertyDynamic(Property<?> prop)
void save()