package io.cameleer.server.app.alerting.eval;

import io.cameleer.server.core.alerting.AlertCondition;
import io.cameleer.server.core.alerting.AlertRule;
import io.cameleer.server.core.alerting.ConditionKind;

public interface ConditionEvaluator<C extends AlertCondition> {

    ConditionKind kind();

    EvalResult evaluate(C condition, AlertRule rule, EvalContext ctx);
}
