public abstract class ConfigBuilder<T extends ConfigBuilder> extends Object implements Serializable
Constructor and Description |
---|
ConfigBuilder() |
Modifier and Type | Method and Description |
---|---|
T |
department(String department)
Sets department to the configuration builder.
|
T |
preChatForm(PreChatForm preChatForm)
Sets pre chat form to the configuration builder.
|
T |
tags(String... tags)
Sets tags to the configuration builder.
|
T |
visitorPathOne(String visitorPath)
Sets visitor path as additional info visible in the Zopim chat dashboard.
|
T |
visitorPathTwo(String visitorPath)
Sets visitor path as additional info visible in the Zopim chat dashboard.
|
public T preChatForm(PreChatForm preChatForm)
Configuring pre chat form will set the PreChatForm
fields as requirements to the chat instance.
Can be retrieved via PreChatForm
interface as parh of Chat
instance returned by ZopimChat
upon starting a chat.
preChatForm
- to configure pre chat field requirementspublic T department(String department)
department
- namepublic T tags(String... tags)
tags
- for the chatpublic T visitorPathOne(String visitorPath)
Additional information configured in the dashboard used to help identify the origin of the chat.
visitorPath
- as extra info visible on the dashboardpublic T visitorPathTwo(String visitorPath)
Additional information configured in the dashboard used to help identify the origin of the chat.
visitorPath
- as extra info visible on the dashboard