io.hyperfoil.tools.horreum.changedetection.ChangeDetectionModel Maven / Gradle / Ivy
package io.hyperfoil.tools.horreum.changedetection;
import java.util.List;
import java.util.function.Consumer;
import com.fasterxml.jackson.databind.JsonNode;
import io.hyperfoil.tools.horreum.api.data.ConditionConfig;
import io.hyperfoil.tools.horreum.api.data.changeDetection.ChangeDetectionModelType;
import io.hyperfoil.tools.horreum.entity.alerting.ChangeDAO;
import io.hyperfoil.tools.horreum.entity.alerting.DataPointDAO;
public interface ChangeDetectionModel {
ConditionConfig config();
ChangeDetectionModelType type();
void analyze(List dataPoints, JsonNode configuration, Consumer changeConsumer)
throws ChangeDetectionException;
ModelType getType();
}