All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.triceo.splitlog.expectations.MetricExpectationManager Maven / Gradle / Ivy

Go to download

These are the core parts of splitlog. This is where the implementations of the public APIs live. Classes from this package come with no API stability guarantees.

There is a newer version: 1.7.2
Show newest version
package com.github.triceo.splitlog.expectations;

import com.github.triceo.splitlog.api.MessageAction;
import com.github.triceo.splitlog.api.MessageMetric;
import com.github.triceo.splitlog.api.MessageMetricCondition;
import com.github.triceo.splitlog.api.MessageProducer;

public final class MetricExpectationManager> extends
AbstractExpectationManager> {

    private final MessageMetric metric;

    public MetricExpectationManager(final MessageMetric metric) {
        this.metric = metric;
    }

    @Override
    protected AbstractExpectation, P> createExpectation(
            final MessageMetricCondition condition, final MessageAction

action) { return new MetricExpectation(this, this.metric, condition, action); } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy