Class EventContext
- java.lang.Object
-
- org.hibernate.search.util.common.reporting.EventContext
-
public final class EventContext extends Object
A sequence ofEventContextElement
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EventContext
append(EventContext other)
static EventContext
concat(EventContext first, EventContext... others)
static EventContext
create(EventContextElement firstElement, EventContextElement... otherElements)
List<EventContextElement>
elements()
boolean
equals(Object obj)
int
hashCode()
String
render()
String
renderWithPrefix()
String
toString()
-
-
-
Method Detail
-
create
public static EventContext create(EventContextElement firstElement, EventContextElement... otherElements)
-
concat
public static EventContext concat(EventContext first, EventContext... others)
-
elements
public List<EventContextElement> elements()
- Returns:
- The elements of this context. Never empty, does not contain
null
values.
-
render
public String render()
- Returns:
- A human-readable representation of this context. This representation may change without prior notice in new versions of Hibernate Search: callers should not try to parse it.
-
renderWithPrefix
public String renderWithPrefix()
- Returns:
- A human-readable representation of this context, with a "Context: " prefix. This representation may change without prior notice in new versions of Hibernate Search: callers should not try to parse it.
-
append
public EventContext append(EventContext other)
-
-