Class ProfileIo.Builder

java.lang.Object
cdc.issues.core.io.ProfileIo.Builder
Enclosing class:
ProfileIo

public static class ProfileIo.Builder extends Object
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • title

      public ProfileIo.Builder title(String title)
      Sets the title.

      If not specified, the profile name is used.

      Parameters:
      title - The title.
      Returns:
      This builder.
    • sections

      public ProfileIo.Builder sections(List<String> sections)
      Sets the sections to dump.
      Parameters:
      sections - The sections.
      Returns:
      This builder.
    • sections

      public ProfileIo.Builder sections(String... sections)
      Sets the sections to dump.
      Parameters:
      sections - The sections.
      Returns:
      This builder.
    • itemConverter

      public ProfileIo.Builder itemConverter(UnaryOperator<String> itemConverter)
      Sets the item wrapper.

      It is used to modify items.

      Parameters:
      itemConverter - The item converter.
      Returns:
      This builder.
    • showEmptySections

      public ProfileIo.Builder showEmptySections(boolean showEmptySections)
    • build

      public ProfileIo build()