Interface ToStringTreeAppender

    • Method Detail

      • attribute

        ToStringTreeAppender attribute​(String name,
                                       Object value)
        Appends a nested, named attribute.
        Parameters:
        name - The name of the attribute to append.
        value - The value of the attribute to append.
        Returns:
        this, for method chaining.
      • value

        ToStringTreeAppender value​(Object value)
        Appends a nested, unnamed value.
        Parameters:
        value - The value to append.
        Returns:
        this, for method chaining.
      • startObject

        ToStringTreeAppender startObject()
        Starts a nested, unnamed object.
        Returns:
        this, for method chaining.
      • startObject

        ToStringTreeAppender startObject​(String name)
        Starts a nested, named object.
        Parameters:
        name - The name of the object (type, ...).
        Returns:
        this, for method chaining.
      • endObject

        ToStringTreeAppender endObject()
        Ends a nested object.
        Returns:
        this, for method chaining.
      • startList

        ToStringTreeAppender startList()
        Starts a nested, unnamed list.
        Returns:
        this, for method chaining.
      • startList

        ToStringTreeAppender startList​(String name)
        Starts a nested, named object.
        Parameters:
        name - The name of the list (type, ...).
        Returns:
        this, for method chaining.