Font size:
Propertiesquery
Description
The Propertiesquery data type represents a regular expression query of the a Commander property context.
Propertiesquery
| Attribute | Description | Required |
|---|---|---|
| id | Referrable name of the properties query | Yes |
| from | regular expression used to match against property context | Yes |
| select | Comma separated list of output parameters corresponding to the "from" value's regular expression pattern groups | Yes |
| where | Optional constraint limiting query to select parameter equaling a certain value or regular expression | No |
| equals | Optional constraint limiting query to the value or regular expression of the property itself | No |
Parameters specified as nested elements
sortby
Optionally one sortby element.
Examples
<propertiesquery id="nodesquery"
from="node.Node.([^\.]*).hostname"
select="node"/>
<propertiesquery id="syncresults"
from="result.([^\.]*)"
select="node"/>
Note
see apply-macro task for other examples.



