Representation of the Undefined Constraint. Evaluates to true only if the left side fact is not defined in the match contect. If the left side is not defined, this will evaluate to false. This constraint can be used independently or added to a And, Or, Not constraint to combine with other constraints.
UndefinedConstraint
VmSpec here is used for creating a clone on a named host from a template resource:
resource = getMatrix().getGridObject(TYPE_RESOURCE,"myTemplate") spec = VmSpec() spec.setNewName("newvm") spec.setHost('vmhost-qa') resource.clone(spec)
Javadoc: UndefinedConstraint