Class MessagePredicate

  • All Implemented Interfaces:
    org.joo.libra.Predicate

    public class MessagePredicate
    extends java.lang.Object
    implements org.joo.libra.Predicate
    • Constructor Summary

      Constructors 
      Constructor Description
      MessagePredicate​(java.util.function.Predicate<io.gridgo.framework.support.Message> condition)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean satisfiedBy​(org.joo.libra.PredicateContext context)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MessagePredicate

        public MessagePredicate​(java.util.function.Predicate<io.gridgo.framework.support.Message> condition)
    • Method Detail

      • satisfiedBy

        public boolean satisfiedBy​(org.joo.libra.PredicateContext context)
        Specified by:
        satisfiedBy in interface org.joo.libra.Predicate