java.lang.Object
org.eblocker.server.common.data.events.Event

public class Event extends Object
An event is something that occurred and that might be of interest to the user
  • Constructor Details

    • Event

      public Event()
  • Method Details

    • getType

      public EventType getType()
    • setType

      public void setType(EventType type)
    • getTimestamp

      public java.time.Instant getTimestamp()
    • setTimestamp

      public void setTimestamp(java.time.Instant now)
    • getEventDetails

      public Map<String,String> getEventDetails()
    • setEventDetails

      public void setEventDetails(Map<String,String> details)
    • hashCode

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

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object