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 EventContextappend(EventContext other)static EventContextconcat(EventContext first, EventContext... others)static EventContextcreate(EventContextElement firstElement, EventContextElement... otherElements)List<EventContextElement>elements()booleanequals(Object obj)inthashCode()Stringrender()StringrenderWithPrefix()StringtoString()
-
-
-
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
nullvalues.
-
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)
-
-