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

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

public interface ConditionEvaluator<C extends AlertCondition> {

    ConditionKind kind();

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