EventMatchCondition

class EventMatchCondition(val key: String, val pattern: String) : Condition

Constructors

Link copied to clipboard
fun EventMatchCondition(key: String, pattern: String)

Functions

Link copied to clipboard
fun isSatisfied(event: Event): Boolean
open override fun isSatisfied(event: Event, conditionResolver: ConditionResolver): Boolean
Link copied to clipboard
open override fun technicalDescription(): String

Properties

Link copied to clipboard
val key: String

The dot-separated field of the event to match, e.g. content.body

Link copied to clipboard
val pattern: String

The glob-style pattern to match against. Patterns with no special glob characters should be treated as having asterisks prepended and appended when testing the condition.