Class Description.DescriptionBuilder

  • Enclosing class:
    Description

    @PublicEvolving
    public static class Description.DescriptionBuilder
    extends Object
    Builder for Description. Allows adding a rich formatting like lists, links, linebreaks etc. For example:
    
     Description description = Description.builder()
     	.text("This is some list: ")
     	.list(
     		text("this is first element of list"),
     		text("this is second element of list with a %s", link("https://link")))
     	.build();
     
    • Constructor Detail

      • DescriptionBuilder

        public DescriptionBuilder()