public class Event
The base class for all events or actions.
public Event(@NotNull
java.lang.String applicationId,
@NotNull
org.litote.kmongo.Id<? extends ai.tock.bot.engine.event.Event> id,
@NotNull
java.time.Instant date,
@NotNull
EventState state)
The base class for all events or actions.
public boolean hasEntity(@NotNull
java.lang.String role)
@NotNull public Event obfuscate(@NotNull ai.tock.shared.security.StringObfuscatorMode mode)
Obfuscate the event - by default this method does nothing.
@NotNull public java.lang.String getApplicationId()
@NotNull public org.litote.kmongo.Id<? extends ai.tock.bot.engine.event.Event> getId()
@NotNull public java.time.Instant getDate()
@NotNull public EventState getState()