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 |
---|---|
abstract static boolean |
canEqual(java.lang.Object that) |
abstract static boolean |
equals(java.lang.Object that) |
java.lang.Object |
payload() |
abstract static int |
productArity() |
abstract static java.lang.Object |
productElement(int n) |
static scala.collection.Iterator<java.lang.Object> |
productIterator() |
static java.lang.String |
productPrefix() |
scala.collection.immutable.Set<java.lang.String> |
tags() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public Tagged(java.lang.Object payload, scala.collection.immutable.Set<java.lang.String> tags)
public Tagged(java.lang.Object payload, java.util.Set<java.lang.String> tags)
payload
- (undocumented)tags
- (undocumented)public abstract static boolean canEqual(java.lang.Object that)
public abstract static boolean equals(java.lang.Object that)
public abstract static java.lang.Object productElement(int n)
public abstract static int productArity()
public static scala.collection.Iterator<java.lang.Object> productIterator()
public static java.lang.String productPrefix()
public java.lang.Object payload()
public scala.collection.immutable.Set<java.lang.String> tags()