Class WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl
- java.lang.Object
-
- com.flowable.engage.external.system.whatsapp.WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl
-
- All Implemented Interfaces:
WhatsAppInteractiveMessageBuilder.SectionBuilder
- Enclosing class:
- WhatsAppInteractiveMessageBuilderImpl
public static class WhatsAppInteractiveMessageBuilderImpl.SectionBuilderImpl extends Object implements WhatsAppInteractiveMessageBuilder.SectionBuilder
-
-
Field Summary
Fields Modifier and Type Field Description protected WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpllistMessageBuilderprotected WhatsAppInteractiveMessageDto.Sectionsection
-
Constructor Summary
Constructors Constructor Description SectionBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WhatsAppInteractiveMessageBuilder.ListMessageBuilderaddSection()Add the section and continue working on the interactive list message or perform sending message.WhatsAppInteractiveMessageBuilder.SectionRowBuildercreateRow()Start creating a row in the section.WhatsAppInteractiveMessageBuilder.SectionBuildertitle(String title)The title of the section.
-
-
-
Field Detail
-
listMessageBuilder
protected final WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder
-
section
protected final WhatsAppInteractiveMessageDto.Section section
-
-
Constructor Detail
-
SectionBuilderImpl
public SectionBuilderImpl(WhatsAppInteractiveMessageBuilderImpl.ListMessageBuilderImpl listMessageBuilder)
-
-
Method Detail
-
title
public WhatsAppInteractiveMessageBuilder.SectionBuilder title(String title)
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionBuilderThe title of the section. This will be visible to the user. Mandatory if you have more than one section.- Specified by:
titlein interfaceWhatsAppInteractiveMessageBuilder.SectionBuilder- Parameters:
title- the title of the section
-
createRow
public WhatsAppInteractiveMessageBuilder.SectionRowBuilder createRow()
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionBuilderStart creating a row in the section.- Specified by:
createRowin interfaceWhatsAppInteractiveMessageBuilder.SectionBuilder
-
addSection
public WhatsAppInteractiveMessageBuilder.ListMessageBuilder addSection()
Description copied from interface:WhatsAppInteractiveMessageBuilder.SectionBuilderAdd the section and continue working on the interactive list message or perform sending message.- Specified by:
addSectionin interfaceWhatsAppInteractiveMessageBuilder.SectionBuilder- Returns:
- the
WhatsAppInteractiveMessageBuilder.ListMessageBuilderresponsible for sending the message
-
-