Interface PreStartChatValidator
-
public interface PreStartChatValidator
This interface is an extension point to validate a new chat before being started and routed to an agent. It is allowed to prevent the start of the chat by throwing aValidationException
.- Since:
- 11.23
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
preStartChat(PreStartChatInfo preStartChatInfo)
The method is called synchronously before starting the chat.
-
-
-
Method Detail
-
preStartChat
void preStartChat(PreStartChatInfo preStartChatInfo) throws ValidationException
The method is called synchronously before starting the chat.- Parameters:
preStartChatInfo
- APreStartChatInfo
object providing information about the chat.- Throws:
ValidationException
- Throw aValidationException
to indicate a validation error. If thrown, the chat will not start. Please note that this will also stop the processing of any subsequentPreStartChatValidator
implementations.- Since:
- 11.23
-
-