Class AbstractSimpleEventContextElement<T>
- java.lang.Object
-
- org.hibernate.search.util.common.reporting.impl.AbstractSimpleEventContextElement<T>
-
- Type Parameters:
T- The type of the parameter.
- All Implemented Interfaces:
EventContextElement
public abstract class AbstractSimpleEventContextElement<T> extends Object implements EventContextElement
An abstract base for simple event context elements based on a single parameter passed to a rendering function.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractSimpleEventContextElement(T param)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)inthashCode()Stringrender()protected abstract Stringrender(T param)StringtoString()
-
-
-
Constructor Detail
-
AbstractSimpleEventContextElement
protected AbstractSimpleEventContextElement(T param)
-
-
Method Detail
-
render
public String render()
- Specified by:
renderin interfaceEventContextElement- Returns:
- A human-readable representation of this context. The representation should use brief, natural language to refer to objects rather than class names, e.g. "index 'myIndexName'" rather than "ElasticsearchIndexManager{name = 'myIndexName'}". The representation may change without prior notice in new versions of Hibernate Search: callers should not try to parse it.
-
-