InfoFilter
Filter which matches Info events, if they satisfy the given criteria:
-
source, if given, applies a filter on the event’s origin -
messageapplies a filter on the event’s message (either with String.startsWith or Regex.findFirstIn().isDefined)
If you want to match all Info events, the most efficient is to use Left("").
Attributes
- Source
- TestEventListener.scala
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass EventFilterclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Constructors
Java API: create an InfoFilter
Java API: create an InfoFilter
Value parameters
- complete
-
whether the event’s message must match the given message string or pattern completely
- message
-
apply this filter only to events whose message matches; do not filter on message if this is given as
null - pattern
-
if
false, the message string must start with the given string, otherwise themessageargument is treated as regular expression which is matched against the message (may match only a substring to filter) - source
-
apply this filter only to events from the given source; do not filter on source if this is given as
null
Attributes
- Source
- TestEventListener.scala
Concrete methods
This method decides whether to filter the event (true) or not (false).
This method decides whether to filter the event (true) or not (false).
Attributes
- Source
- TestEventListener.scala
Inherited methods
Attributes
- Inherited from:
- EventFilter
- Source
- TestEventListener.scala
Assert that this filter has matched as often as requested by its occurrences parameter specifies.
Assert that this filter has matched as often as requested by its occurrences parameter specifies.
Attributes
- Inherited from:
- EventFilter
- Source
- TestEventListener.scala
Attributes
- Inherited from:
- EventFilter
- Source
- TestEventListener.scala
Apply this filter while executing the given code block. Care is taken to remove the filter when the block is finished or aborted.
Apply this filter while executing the given code block. Care is taken to remove the filter when the block is finished or aborted.
Attributes
- Inherited from:
- EventFilter
- Source
- TestEventListener.scala
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product