Serialisers
Serialisers are utility functions for creating Groovy expressions for different operators, such as greater than, less than, equals, etc.
Methods
| Method | Description | Return value | Example |
|---|---|---|---|
| AND | Creates a groovy expression clause testing AND | (e: Expression) => string | |
| OR | Creates a groovy expression clause testing OR | (e: Expression) => string | |
| NOT | Creates a groovy expression clause testing NOT | (e: Expression) => string | |
| GT | Creates a groovy expression clause testing greater than | (e: Expression) => string | |
| GE | Creates a groovy expression clause testing greater | (e: Expression) => string | |
| LT | Creates a groovy expression clause testing less than | (e: Expression) => string | |
| NE | Creates a groovy expression clause testing greater than | (e: Expression) => string | |
| EQ | Creates a groovy expression clause testing equals | (e: Expression) => string | |
| equals | Creates a groovy expression clause testing equals | (e: Expression) => string | |
| equalsIgnoreCase | Creates a groovy expression clause testing equalsIgnoreCase, used for testing string values ignoring case | (e: Expression) => string | |
| contains | Creates a groovy expression clause testing contains, used for testing a string contains a value | (e: Expression) => string | |
| fieldContains | Creates a groovy expression clause testing fieldContains, used for testing a field contains a value | (e: Expression) => string | |
| containsIgnoreCase | Creates a groovy expression clause testing containsIgnoreCase, used for testing a field contains a value ignoring case | (e: Expression) => string | |
| dateIsEqual | Creates a groovy expression clause testing dateIsEqual, used for testing a date matches a value | (e: Expression) => string | |
| dateIsGreaterEqual | Creates a groovy expression clause testing dateIsGreaterEqual, used for testing a date matches or is greater than a value | (e: Expression) => string | |
| dateIsLessEqual | Creates a groovy expression clause testing dateIsLessEqual, used for testing a date matches or is less than a value | (e: Expression) => string | |