Class ToStringStyle

java.lang.Object
org.hibernate.search.util.common.impl.ToStringStyle

public class ToStringStyle extends Object
  • Method Details

    • inlineDelimiterStructure

      public static ToStringStyle inlineDelimiterStructure()
      Returns:
      A single-line format relying on delimiters to display the structure (JSON-style).
    • multilineDelimiterStructure

      public static ToStringStyle multilineDelimiterStructure()
      Returns:
      A multi-line format relying on delimiters to display the structure (JSON-style).
    • multilineIndentStructure

      public static ToStringStyle multilineIndentStructure()
      Returns:
      A multi-line format relying on indenting and bullet points to display the structure (YAML-style). Object and array delimiters are not shown.
    • multilineIndentStructure

      public static ToStringStyle multilineIndentStructure(String nameValueSeparator, String indentInObject, String indentInListBulletPoint, String indentInListNoBulletPoint)
      Returns:
      A multi-line format relying on indenting and bullet points to display the structure (YAML-style). Object and array delimiters are not shown.