Package akka.testkit.javadsl
Class EventFilter
- java.lang.Object
-
- akka.testkit.javadsl.EventFilter
-
public class EventFilter extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description EventFilter(java.lang.Class<?> clazz, ActorSystem system)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EventFilter
from(java.lang.String source)
<T> T
intercept(java.util.function.Supplier<T> code)
EventFilter
matches(java.lang.String regex)
EventFilter
message(java.lang.String msg)
EventFilter
occurrences(int number)
EventFilter
startsWith(java.lang.String msg)
-
-
-
Constructor Detail
-
EventFilter
public EventFilter(java.lang.Class<?> clazz, ActorSystem system)
-
-
Method Detail
-
from
public EventFilter from(java.lang.String source)
-
intercept
public <T> T intercept(java.util.function.Supplier<T> code)
-
matches
public EventFilter matches(java.lang.String regex)
-
message
public EventFilter message(java.lang.String msg)
-
occurrences
public EventFilter occurrences(int number)
-
startsWith
public EventFilter startsWith(java.lang.String msg)
-
-