Package org.apache.pekko.testkit
Class CustomEventFilter
java.lang.Object
org.apache.pekko.testkit.EventFilter
org.apache.pekko.testkit.CustomEventFilter
- All Implemented Interfaces:
Serializable,scala.Equals,scala.Product
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:
-
Constructor Summary
ConstructorsConstructorDescriptionCustomEventFilter(scala.PartialFunction<Logging.LogEvent, Object> test, int occurrences) -
Method Summary
Modifier and TypeMethodDescriptionstatic CustomEventFilterapply(scala.PartialFunction<Logging.LogEvent, Object> test, int occurrences) booleancopy(scala.PartialFunction<Logging.LogEvent, Object> test, int occurrences) scala.PartialFunction<Logging.LogEvent,Object> booleaninthashCode()booleanmatches(Logging.LogEvent event) This method decides whether to filter the event (true) or not (false).intproductElement(int x$1) productElementName(int x$1) scala.collection.Iterator<Object>scala.PartialFunction<Logging.LogEvent,Object> test()toString()static scala.Option<scala.PartialFunction<Logging.LogEvent,Object>> unapply(CustomEventFilter x$0) Methods inherited from class org.apache.pekko.testkit.EventFilter
apply, apply$default$1, apply$default$2, apply$default$3, apply$default$4, apply$default$5, assertDone, awaitDone, complete, custom, custom$default$2, debug, debug$default$1, debug$default$2, debug$default$3, debug$default$4, debug$default$5, doMatch, error, error$default$1, error$default$2, error$default$3, error$default$4, error$default$5, info, info$default$1, info$default$2, info$default$3, info$default$4, info$default$5, intercept, message, source, warning, warning$default$1, warning$default$2, warning$default$3, warning$default$4, warning$default$5Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface scala.Product
productElementNames
-
Constructor Details
-
CustomEventFilter
-
-
Method Details
-
apply
public static CustomEventFilter apply(scala.PartialFunction<Logging.LogEvent, Object> test, int occurrences) -
unapply
public static scala.Option<scala.PartialFunction<Logging.LogEvent,Object>> unapply(CustomEventFilter x$0) -
test
-
matches
Description copied from class:EventFilterThis method decides whether to filter the event (true) or not (false).- Specified by:
matchesin classEventFilter
-
copy
-
copy$default$1
-
productPrefix
- Specified by:
productPrefixin interfacescala.Product
-
productArity
public int productArity()- Specified by:
productArityin interfacescala.Product
-
productElement
- Specified by:
productElementin interfacescala.Product
-
productIterator
- Specified by:
productIteratorin interfacescala.Product
-
canEqual
- Specified by:
canEqualin interfacescala.Equals
-
productElementName
- Specified by:
productElementNamein interfacescala.Product
-
hashCode
public int hashCode() -
toString
-
equals
-