class ConstantThresholdDetector extends AbstractOutlierDetector {

    @Override
    public DetectorResult detect(@NonNull MetricData metricData) {
        val thresholds = params.getThresholds();
        val trusted = isTrusted();
        val level = classifier.classify(thresholds, metricData.getValue());
        return new OutlierDetectorResult()
                .setAnomalyLevel(level)
                .setThresholds(thresholds)
                .setTrusted(trusted);
    }

    public  ConstantThresholdDetector(@NonNull UUID uuid, @NonNull ConstantThresholdDetectorParams params, boolean trusted);

}