GtConstraint

Representation of the Greater than Constraint. Performs a ‘greater than’ constraint operation. Missing arguments will always result in this constraint evaluating to false. The standard lexographical ordering of values is used to determine result. This constraint can be used independently or added to a And, Or, Not constraint to combine with other constraints.

Constructor

GtConstraint(): Constructs a default greather-than constraint.

Field Summary

Fields inherited from class com.gridion.jdl.BinaryConstraint:

MATCH_MODE_EXACT (0)

Exactly match the left and right sides of operation.

MATCH_MODE_REGEXP (1)

If possible, performs a regular expresion matching by treating the right side of the operation as a regular expression.This is only considered for String arguments.

MATCH_MODE_GLOB (2)

If possible, performs a glob-style matching by treating the right side of the operation as a glob expression. This is only considered for String arguments.

Methods

Inherited from class com.gridion.jdl.BinaryConstraint:

getMatchMode()

Retrieves the match mode for this binary constraint operation.

Returns: The match mode.

setMatchMode(int matchMode)

Sets the match mode used by some individual binary operator constraints. The match mode only has effect if the operator supports the specified type and the type of the left and right side of the operation are compatible with the mode otherwise the default of MATCH_MODE_EXACT is assumed.

Parameters: matchMode - the (advisory) match mode.

setNewName(String name)

Sets the name of the VM to be created.

setRepository(String repository)

Sets the name of a repository for creating the VM if required by the provisioning adapter.

setUseAutoprep(boolean value)

Sets whether to use the autoprep facts on the resource for creating the new VM.

Inherited from class com.gridion.jdl.Constraint:

getFact, getFactValue, getReason, getValue, setFact, setFactValue, setReason, setValue

See Constraint.

See Also