ConditionResolver

interface ConditionResolver

Acts like a visitor on Conditions. This class as all required context needed to evaluate rules

Functions

Link copied to clipboard
abstract fun resolveContainsDisplayNameCondition(event: Event, condition: ContainsDisplayNameCondition): Boolean
Link copied to clipboard
abstract fun resolveEventMatchCondition(event: Event, condition: EventMatchCondition): Boolean
Link copied to clipboard
abstract fun resolveRoomMemberCountCondition(event: Event, condition: RoomMemberCountCondition): Boolean
abstract fun resolveSenderNotificationPermissionCondition(event: Event, condition: SenderNotificationPermissionCondition): Boolean