| Package | Description |
|---|---|
| org.sadtech.social.bot | |
| org.sadtech.social.bot.domain.unit | |
| org.sadtech.social.bot.service.action | |
| org.sadtech.social.bot.service.save | |
| org.sadtech.social.bot.utils |
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ActionUnit<? extends MainUnit,? extends org.sadtech.social.core.domain.content.Message>> |
GeneralAutoResponder.actionUnitMap |
protected org.sadtech.autoresponder.AutoResponder<MainUnit> |
GeneralAutoResponder.autoResponder |
| Modifier and Type | Method and Description |
|---|---|
<U extends MainUnit> |
GeneralAutoResponder.initDefaultUnit(U defaultUnit) |
| Modifier and Type | Method and Description |
|---|---|
void |
GeneralAutoResponder.answer(T event,
MainUnit unitAnswer) |
void |
GeneralAutoResponder.setDefaultUnit(MainUnit mainUnit) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
GeneralAutoResponder.initActionUnit(String typeUnit,
ActionUnit<? super MainUnit,T> actionUnit) |
| Constructor and Description |
|---|
GeneralAutoResponder(Set<MainUnit> menuUnit,
org.sadtech.social.core.service.sender.Sending sending,
org.sadtech.social.core.service.MessageService<T> messageService,
org.sadtech.autoresponder.repository.UnitPointerRepository<MainUnit> unitPointerRepository) |
GeneralAutoResponder(Set<MainUnit> menuUnit,
org.sadtech.social.core.service.sender.Sending sending,
org.sadtech.social.core.service.MessageService<T> messageService,
org.sadtech.autoresponder.repository.UnitPointerRepository<MainUnit> unitPointerRepository) |
| Modifier and Type | Class and Description |
|---|---|
class |
AnswerAccount
Юнит для обработки платежей.
|
class |
AnswerCheck
Обработчик запроса, который реализует конструкцию IF в сценарии.
|
class |
AnswerProcessing<M extends org.sadtech.social.core.domain.content.Message>
Обработчик для кастомных реализаций.
|
class |
AnswerSave<D>
Обработчик для сохранения ответов пользователя.
|
class |
AnswerText
Используется для отправки ответа пользователю.
|
class |
AnswerTimer
Обработчик таймер, позволяющий отложить обработку других Unit-ов.
|
class |
AnswerValidity
Обработка данных со страницы пользователя.
|
| Constructor and Description |
|---|
AnswerCheck(Set<String> keyWords,
String phrase,
Pattern pattern,
Integer matchThreshold,
Integer priority,
Set<MainUnit> nextUnits,
UnitActiveType activeType,
MainUnit unitTrue,
MainUnit unitFalse,
CheckData<org.sadtech.social.core.domain.content.Message> check) |
| Constructor and Description |
|---|
AnswerCheck(Set<String> keyWords,
String phrase,
Pattern pattern,
Integer matchThreshold,
Integer priority,
Set<MainUnit> nextUnits,
UnitActiveType activeType,
MainUnit unitTrue,
MainUnit unitFalse,
CheckData<org.sadtech.social.core.domain.content.Message> check) |
MainUnit(Set<String> keyWords,
String phrase,
Pattern pattern,
Integer matchThreshold,
Integer priority,
Set<MainUnit> nextUnits,
UnitActiveType activeType,
String type) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ActionUnit<M extends MainUnit,C extends org.sadtech.social.core.domain.content.Message>
Интерфейс для обработки Unit-ов.
|
| Modifier and Type | Method and Description |
|---|---|
MainUnit |
AnswerAccountAction.action(AnswerAccount answerAccount,
org.sadtech.social.core.domain.content.Mail mail) |
MainUnit |
AnswerCheckAction.action(AnswerCheck answerCheck,
org.sadtech.social.core.domain.content.Message mail) |
MainUnit |
AnswerProcessingAction.action(AnswerProcessing<org.sadtech.social.core.domain.content.Message> answerProcessing,
org.sadtech.social.core.domain.content.Message message) |
MainUnit |
AnswerSaveAction.action(AnswerSave<D> answerSave,
org.sadtech.social.core.domain.content.Message mail) |
MainUnit |
AnswerTextAction.action(AnswerText answerText,
org.sadtech.social.core.domain.content.Message message) |
MainUnit |
AnswerTimerAction.action(AnswerTimer answerTimer,
org.sadtech.social.core.domain.content.Message message) |
MainUnit |
AnswerValidityAction.action(AnswerValidity unit,
org.sadtech.social.core.domain.content.Message content) |
MainUnit |
ActionUnit.action(M unit,
C content)
Метод обработки Unit-а.
|
| Modifier and Type | Method and Description |
|---|---|
MainUnit |
CheckSave.check(D content) |
| Modifier and Type | Method and Description |
|---|---|
MainUnit |
QuestionUtils.build() |
MainUnit |
QuestionUtils.build(MainUnit finishUnit) |
| Modifier and Type | Method and Description |
|---|---|
MainUnit |
QuestionUtils.build(MainUnit finishUnit) |
Copyright © 2020. All rights reserved.