public interface RuntimePropertiesPlugin extends ExecContextPlugin
Modifications to runtime properties are not meant to be persisted across tool
executions. If a tool needs to manage persistent properties, it should
explicitly use ExecContext.getProperty(java.lang.String) and
ExecContext.setProperty(java.lang.String, java.lang.String) or other means.
| Modifier and Type | Method and Description |
|---|---|
String |
getProperty(Node node,
String name)
Gets the value of a property associated with a node.
|
void |
setProperty(Node node,
String name,
String value)
Sets the value of a property associated with a node.
|
String getProperty(Node node, String name)
It is up to the plugin implementation to use the appropriate property resolution algorithm. Such an algorithm can involve:
node - Node in the context of which the property is requested. May be
null as equivalent to specifying the Model root Node.name - Name of the property.void setProperty(Node node, String name, String value)
Properties sets in this way are expected to take precedence.
node - Node in the context of which the property is set. May be null as
equivalent to specifying the Model root Node.name - Name of the property.value - Value of the property.Copyright © 2015–2017 AZYVA INC.. All rights reserved.