ControlTier Inc. > CTL
 
Font size:      

Propertiesquery

Description

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

Setting

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

Examples

Shows propertiesquery data type used in property-results and parallel-addmacro Ant tasks.

	<propertiesquery id="nodesquery"
                            from="node.Node.([^\.]*).hostname"
                            select="node"/>

	<propertiesquery id="syncresults"
                            from="result.([^\.]*)"
                            select="node"/>