Package com.winterhavenmc.library.messagebuilder.pipeline.processor
package com.winterhavenmc.library.messagebuilder.pipeline.processor
Defines the final stage in the message processing pipeline, responsible for converting a structured
ValidMessageRecord
into a fully resolved
FinalMessageRecord
.
At this stage, all macros within the message fields (such as the body text, title, and subtitle)
are replaced with their corresponding values, derived from context data stored in a
MacroObjectMap
.
Key Components
Processor
– A functional interface that transforms message records by resolving macro placeholders.MessageProcessor
– The default implementation that performs macro substitution using a configuredReplacer
.
This stage produces the final output-ready representation of a message and completes the macro resolution lifecycle.
- See Also:
-
ClassDescriptionDefault implementation of the
Processor
interface responsible for performing macro replacement on message fields.A functional interface representing the final stage in the message pipeline: transforming aValidMessageRecord
into aFinalMessageRecord
by resolving and replacing all macro placeholders.