Skip to main content

Serialisers

Serialisers are utility functions for creating Groovy expressions for different operators, such as greater than, less than, equals, etc.

Methods

MethodDescriptionReturn valueExample
ANDCreates a groovy expression clause testing AND(e: Expression) => string
Serialisers.AND
ORCreates a groovy expression clause testing OR(e: Expression) => string
Serialisers.OR
NOTCreates a groovy expression clause testing NOT(e: Expression) => string
Serialisers.NOT
GTCreates a groovy expression clause testing greater than(e: Expression) => string
Serialisers.GT
GECreates a groovy expression clause testing greater(e: Expression) => string
Serialisers.GE
LTCreates a groovy expression clause testing less than(e: Expression) => string
Serialisers.LT
NECreates a groovy expression clause testing greater than(e: Expression) => string
Serialisers.GT
EQCreates a groovy expression clause testing equals(e: Expression) => string
Serialisers.EQ
equalsCreates a groovy expression clause testing equals(e: Expression) => string
Serialisers.equals
equalsIgnoreCaseCreates a groovy expression clause testing equalsIgnoreCase, used for testing string values ignoring case(e: Expression) => string
Serialisers.equalsIgnoreCase
containsCreates a groovy expression clause testing contains, used for testing a string contains a value(e: Expression) => string
Serialisers.contains
fieldContainsCreates a groovy expression clause testing fieldContains, used for testing a field contains a value(e: Expression) => string
Serialisers.fieldContains
containsIgnoreCaseCreates a groovy expression clause testing containsIgnoreCase, used for testing a field contains a value ignoring case(e: Expression) => string
Serialisers.containsIgnoreCase
dateIsEqualCreates a groovy expression clause testing dateIsEqual, used for testing a date matches a value(e: Expression) => string
Serialisers.dateIsEqual
dateIsGreaterEqualCreates a groovy expression clause testing dateIsGreaterEqual, used for testing a date matches or is greater than a value(e: Expression) => string
Serialisers.dateIsEqual
dateIsLessEqualCreates a groovy expression clause testing dateIsLessEqual, used for testing a date matches or is less than a value(e: Expression) => string
Serialisers.dateIsEqual