Class StoreEvent<K,V>

java.lang.Object
com.github.tomakehurst.wiremock.store.StoreEvent<K,V>

public class StoreEvent<K,V> extends Object
  • Constructor Details

    • StoreEvent

      public StoreEvent(K key, V oldValue, V newValue)
  • Method Details

    • 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(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object