Class ServeEventQuery
- java.lang.Object
-
- com.github.tomakehurst.wiremock.admin.model.ServeEventQuery
-
public class ServeEventQuery extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static ServeEventQuery
ALL
static ServeEventQuery
ALL_UNMATCHED
-
Constructor Summary
Constructors Constructor Description ServeEventQuery(boolean onlyUnmatched, java.util.UUID stubMappingId)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
-
-
Field Detail
-
ALL
public static final ServeEventQuery ALL
-
ALL_UNMATCHED
public static final ServeEventQuery ALL_UNMATCHED
-
-
Method Detail
-
forStubMapping
public static ServeEventQuery forStubMapping(StubMapping stubMapping)
-
forStubMapping
public static ServeEventQuery forStubMapping(java.util.UUID stubMappingId)
-
fromRequest
public static ServeEventQuery fromRequest(Request request)
-
isOnlyUnmatched
public boolean isOnlyUnmatched()
-
getStubMappingId
public java.util.UUID getStubMappingId()
-
filter
public java.util.List<ServeEvent> filter(java.util.List<ServeEvent> events)
-
-