akka.testkit
Class CustomEventFilter

java.lang.Object
  extended by akka.testkit.EventFilter
      extended by akka.testkit.CustomEventFilter
All Implemented Interfaces:
java.io.Serializable, scala.Equals, scala.Product

public class CustomEventFilter
extends EventFilter
implements scala.Product, scala.Serializable

Custom event filter when the others do not fit the bill.

If the partial function is defined and returns true, filter the event.

See Also:
Serialized Form

Constructor Summary
CustomEventFilter(scala.PartialFunction<Logging.LogEvent,java.lang.Object> test, int occurrences)
           
 
Method Summary
 boolean matches(Logging.LogEvent event)
          This method decides whether to filter the event (true) or not (false).
 scala.PartialFunction<Logging.LogEvent,java.lang.Object> test()
           
 
Methods inherited from class akka.testkit.EventFilter
apply, awaitDone, complete, custom, debug, doMatch, error, info, intercept, message, source, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface scala.Product
productArity, productElement, productIterator, productPrefix
 
Methods inherited from interface scala.Equals
canEqual, equals
 

Constructor Detail

CustomEventFilter

public CustomEventFilter(scala.PartialFunction<Logging.LogEvent,java.lang.Object> test,
                         int occurrences)
Method Detail

test

public scala.PartialFunction<Logging.LogEvent,java.lang.Object> test()

matches

public boolean matches(Logging.LogEvent event)
Description copied from class: EventFilter
This method decides whether to filter the event (true) or not (false).

Specified by:
matches in class EventFilter
Parameters:
event - (undocumented)
Returns:
(undocumented)