Class EntityIndexingFailureContext

java.lang.Object
org.hibernate.search.engine.reporting.FailureContext
org.hibernate.search.engine.reporting.EntityIndexingFailureContext

public class EntityIndexingFailureContext extends FailureContext
Contextual information about a failure to index entities.
  • Method Details

    • builder

      public static EntityIndexingFailureContext.Builder builder()
    • entityReferences

      @Deprecated public List<Object> entityReferences()
      Deprecated.
      Returns:
      A list of references to entities that may not be indexed correctly as a result of the failure. Never null, but may be empty. Use Object.toString() to get a textual representation of each reference, or cast it to the mapper-specific EntityReference type.
    • failingEntityReferences

      public List<EntityReference> failingEntityReferences()
      Returns:
      A list of references to entities that may not be indexed correctly as a result of the failure. Never null, but may be empty.
    • toString

      public String toString()
      Overrides:
      toString in class FailureContext