Class EventContext

java.lang.Object
org.hibernate.search.util.common.reporting.EventContext

public final class EventContext extends Object
A sequence of EventContextElement.
  • Method Details

    • create

      public static EventContext create(EventContextElement firstElement, EventContextElement... otherElements)
    • concat

      public static EventContext concat(EventContext first, EventContext... others)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • 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)