initial mvc message display

This commit is contained in:
Keith Donald
2008-04-01 18:51:54 +00:00
parent e9f070b3e3
commit 6e3c0197ef

View File

@@ -0,0 +1,15 @@
package org.springframework.binding.message;
/**
* A predicate used to select mapping result objects in a call to {@link MessageContext#getMessagesByCriteria(MessageCriteria)}.
* @author Keith Donald
*/
public interface MessageCriteria {
/**
* Tests if the message meets this criteria.
* @param message the message
* @return true if this criteria is met for the message, false if not
*/
public boolean test(Message message);
}