public class ServeEventQuery
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ServeEventQuery |
ALL |
static ServeEventQuery |
ALL_UNMATCHED |
| Constructor and Description |
|---|
ServeEventQuery(boolean onlyUnmatched,
java.util.UUID stubMappingId) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<ServeEvent> |
filter(java.util.List<ServeEvent> events) |
static ServeEventQuery |
forStubMapping(StubMapping stubMapping) |
static ServeEventQuery |
forStubMapping(java.util.UUID stubMappingId) |
static ServeEventQuery |
fromRequest(Request request) |
java.util.UUID |
getStubMappingId() |
boolean |
isOnlyUnmatched() |
public static final ServeEventQuery ALL
public static final ServeEventQuery ALL_UNMATCHED
public ServeEventQuery(boolean onlyUnmatched,
java.util.UUID stubMappingId)
public static ServeEventQuery forStubMapping(StubMapping stubMapping)
public static ServeEventQuery forStubMapping(java.util.UUID stubMappingId)
public static ServeEventQuery fromRequest(Request request)
public boolean isOnlyUnmatched()
public java.util.UUID getStubMappingId()
public java.util.List<ServeEvent> filter(java.util.List<ServeEvent> events)