1 package com.github.triceo.splitlog.api; 2 3 /** 4 * Allows users to either accept or reject a message in various situations. 5 */ 6 public interface SimpleMessageCondition { 7 8 /** 9 * Evaluate a message against a user-provided condition. 10 * 11 * @param evaluate 12 * The message to evaluate. 13 * @return True if the message passes. 14 */ 15 boolean accept(Message evaluate); 16 }