public class Tagged
extends java.lang.Object
implements scala.Product, scala.Serializable
EventsByTag
query and it may support specifying the tags via an
EventAdapter
that wraps the events
in a Tagged
with the given tags
. The journal may support other
ways of doing tagging. Please consult the documentation of the specific
journal implementation for more information.
The journal will unwrap the event and store the payload
.
Constructor and Description |
---|
Tagged(java.lang.Object payload,
scala.collection.immutable.Set<java.lang.String> tags) |
Tagged(java.lang.Object payload,
java.util.Set<java.lang.String> tags)
Java API
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
payload() |
scala.collection.immutable.Set<java.lang.String> |
tags() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait