Class StoreEvent<K,V>
- java.lang.Object
-
- com.github.tomakehurst.wiremock.store.StoreEvent<K,V>
-
public class StoreEvent<K,V> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description StoreEvent(K key, V oldValue, V newValue)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)KgetKey()VgetNewValue()VgetOldValue()inthashCode()static <K,V>
StoreEvent<K,V>remove(K key, V previousValue)static <K,V>
StoreEvent<K,V>set(K key, V previousValue, V newValue)java.lang.StringtoString()
-
-
-
Method Detail
-
set
public static <K,V> StoreEvent<K,V> set(K key, V previousValue, V newValue)
-
remove
public static <K,V> StoreEvent<K,V> remove(K key, V previousValue)
-
getKey
public K getKey()
-
getOldValue
public V getOldValue()
-
getNewValue
public V getNewValue()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-