ControlTier Inc. > CTL
 
Font size:      

Propertiesquery

Description

The Propertiesquery data type represents a regular expression query of the a Commander property context.

Propertiesquery

AttributeDescriptionRequired
idReferrable name of the properties queryYes
fromregular expression used to match against property contextYes
selectComma separated list of output parameters corresponding to the "from" value's regular expression pattern groupsYes
whereOptional constraint limiting query to select parameter equaling a certain value or regular expressionNo
equalsOptional constraint limiting query to the value or regular expression of the property itselfNo

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.