StandardTextContentProcessor

标准的前置处理器。 StandardTextContentProcessor 是对 EventListenerProcessingContext.textContent 的前置处理器, 可以通过事件实体和context来决定目标监听函数所需要使用的content内容。

标准的前置处理器均为 ListenerMatchPreparer, 因此它们只能使用于 love.forte.simboot.annotation.Preparator 中。

See also

Types

Link copied to clipboard

将结果直接置为空值。

Link copied to clipboard

EventListenerProcessingContext.textContent 不为 null 的时候,对其进行 trim 并重新设置。

Functions

Link copied to clipboard
abstract suspend fun prepareInvoke(context: EventListenerProcessingContext)

EventListener.invoke 前执行准备。

Link copied to clipboard
abstract suspend fun prepareMatch(context: EventListenerProcessingContext)

EventListener.match 前执行准备。

Inheritors

Link copied to clipboard
Link copied to clipboard