Class ListElement

java.lang.Object
ai.dat.core.configuration.description.ListElement
All Implemented Interfaces:
BlockElement

public class ListElement extends Object implements BlockElement
Represents a list in the Description.
  • Method Details

    • list

      public static ListElement list(InlineElement... elements)
      Creates a list with blocks of text. For example:
      
       .list(
       	text("this is first element of list"),
       	text("this is second element of list with a %s", link("https://link"))
       )
       
      Parameters:
      elements - list of this list entries
      Returns:
      list representation
    • format

      public void format(Formatter formatter)