Class ActionMetadata
-
- All Implemented Interfaces:
public final class ActionMetadata
-
-
Field Summary
Fields Modifier and Type Field Description private BooleanlastAnswerprivate ActionPrioritypriorityprivate ActionNotificationTypenotificationTypeprivate ActionVisibilityvisibilityprivate ActionReplyreplyMessageprivate ActionQuotequoteMessageprivate BooleanorchestrationLockprivate final StringorchestratedByprivate final BooleanreturnsHistoryprivate BooleandebugEnabledprivate BooleansourceWithContentprivate BooleanisGenAiRagAnswer
-
Constructor Summary
Constructors Constructor Description ActionMetadata(Boolean lastAnswer, ActionPriority priority, ActionNotificationType notificationType, ActionVisibility visibility, ActionReply replyMessage, ActionQuote quoteMessage, Boolean orchestrationLock, String orchestratedBy, Boolean returnsHistory, Boolean debugEnabled, Boolean sourceWithContent, Boolean isGenAiRagAnswer)
-
Method Summary
Modifier and Type Method Description final BooleangetLastAnswer()Is it the last answer of the bot. final UnitsetLastAnswer(Boolean lastAnswer)Is it the last answer of the bot. final ActionPrioritygetPriority()Significance deals with the notification level. final UnitsetPriority(ActionPriority priority)Significance deals with the notification level. final ActionNotificationTypegetNotificationType()Tag deals with type of message notification. final UnitsetNotificationType(ActionNotificationType notificationType)Tag deals with type of message notification. final ActionVisibilitygetVisibility()Visibility of the message. final UnitsetVisibility(ActionVisibility visibility)Visibility of the message. final ActionReplygetReplyMessage()Message which is a reply to another. final UnitsetReplyMessage(ActionReply replyMessage)Message which is a reply to another. final ActionQuotegetQuoteMessage()Message which contains a quote. final UnitsetQuoteMessage(ActionQuote quoteMessage)Message which contains a quote. final BooleangetOrchestrationLock()The message triggers an orchestration lock. final UnitsetOrchestrationLock(Boolean orchestrationLock)The message triggers an orchestration lock. final StringgetOrchestratedBy()Message delegated by another bot. final BooleangetReturnsHistory()Does the action returns history ? final BooleangetDebugEnabled()Is the debugging function enabled? final UnitsetDebugEnabled(Boolean debugEnabled)Is the debugging function enabled? final BooleangetSourceWithContent()Does the action returns source content ? final UnitsetSourceWithContent(Boolean sourceWithContent)Does the action returns source content ? final BooleanisGenAiRagAnswer()is Gen AI RAG's answer? final UnitsetGenAiRagAnswer(Boolean isGenAiRagAnswer)is Gen AI RAG's answer? -
-
Constructor Detail
-
ActionMetadata
ActionMetadata(Boolean lastAnswer, ActionPriority priority, ActionNotificationType notificationType, ActionVisibility visibility, ActionReply replyMessage, ActionQuote quoteMessage, Boolean orchestrationLock, String orchestratedBy, Boolean returnsHistory, Boolean debugEnabled, Boolean sourceWithContent, Boolean isGenAiRagAnswer)
-
-
Method Detail
-
getLastAnswer
final Boolean getLastAnswer()
Is it the last answer of the bot.
-
setLastAnswer
final Unit setLastAnswer(Boolean lastAnswer)
Is it the last answer of the bot.
-
getPriority
final ActionPriority getPriority()
Significance deals with the notification level.
-
setPriority
final Unit setPriority(ActionPriority priority)
Significance deals with the notification level.
-
getNotificationType
final ActionNotificationType getNotificationType()
Tag deals with type of message notification.
-
setNotificationType
final Unit setNotificationType(ActionNotificationType notificationType)
Tag deals with type of message notification.
-
getVisibility
final ActionVisibility getVisibility()
Visibility of the message.
-
setVisibility
final Unit setVisibility(ActionVisibility visibility)
Visibility of the message.
-
getReplyMessage
final ActionReply getReplyMessage()
Message which is a reply to another.
-
setReplyMessage
final Unit setReplyMessage(ActionReply replyMessage)
Message which is a reply to another.
-
getQuoteMessage
final ActionQuote getQuoteMessage()
Message which contains a quote.
-
setQuoteMessage
final Unit setQuoteMessage(ActionQuote quoteMessage)
Message which contains a quote.
-
getOrchestrationLock
final Boolean getOrchestrationLock()
The message triggers an orchestration lock.
-
setOrchestrationLock
final Unit setOrchestrationLock(Boolean orchestrationLock)
The message triggers an orchestration lock.
-
getOrchestratedBy
final String getOrchestratedBy()
Message delegated by another bot.
-
getReturnsHistory
final Boolean getReturnsHistory()
Does the action returns history ?
-
getDebugEnabled
final Boolean getDebugEnabled()
Is the debugging function enabled?
-
setDebugEnabled
final Unit setDebugEnabled(Boolean debugEnabled)
Is the debugging function enabled?
-
getSourceWithContent
final Boolean getSourceWithContent()
Does the action returns source content ?
-
setSourceWithContent
final Unit setSourceWithContent(Boolean sourceWithContent)
Does the action returns source content ?
-
isGenAiRagAnswer
final Boolean isGenAiRagAnswer()
is Gen AI RAG's answer?
-
setGenAiRagAnswer
final Unit setGenAiRagAnswer(Boolean isGenAiRagAnswer)
is Gen AI RAG's answer?
-
-
-
-