com.github.triceo.splitlog.expectations.MetricExpectationManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of splitlog-core Show documentation
Show all versions of splitlog-core Show documentation
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.
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