com.github.triceo.splitlog.expectations.MidDeliveryExpectation 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.Message;
import com.github.triceo.splitlog.api.MessageAction;
import com.github.triceo.splitlog.api.MessageDeliveryStatus;
import com.github.triceo.splitlog.api.MessageProducer;
import com.github.triceo.splitlog.api.MidDeliveryMessageCondition;
final class MidDeliveryExpectation> extends
AbstractExpectation, S> {
public MidDeliveryExpectation(final MidDeliveryExpectationManager manager,
final MidDeliveryMessageCondition condition, final MessageAction action) {
super(manager, condition, action);
}
@Override
protected boolean isAccepted(final Message msg, final MessageDeliveryStatus status, final S source) {
return this.getBlockingCondition().accept(msg, status, source);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy