Trigger

object Trigger

Utility to build Trigger expressions more easily.

Since

0.4.0

Types

Link copied to clipboard
abstract class Statement

Base Trigger statement. Subclassed to provide concrete statements.

Functions

Link copied to clipboard

Groups a collection of statements in an all relationship.

Link copied to clipboard

Groups a collection of statements in an any relationship.

Link copied to clipboard
fun eq(key: Int, value: Any): Trigger.Statement

Check the property equals the given value.

Link copied to clipboard
fun gt(key: Int, value: Any): Trigger.Statement

Check the property exceeds the given value.

Link copied to clipboard

Check the property exceeds or equals the given value.

Link copied to clipboard
fun lt(key: Int, value: Any): Trigger.Statement

Check the property does not exceeds the given value.

Link copied to clipboard

Check the property equals or does not exceeds the given value.

Link copied to clipboard

Check the property does not equals the given value.

Link copied to clipboard

Groups a collection of statements in an none relationship.