Package com.winterhavenmc.library.messagebuilder.pipeline.retriever
package com.winterhavenmc.library.messagebuilder.pipeline.retriever
Defines the entry point to the message pipeline, responsible for retrieving
MessageRecord
instances from a configuration-backed query system.
This package encapsulates the "retrieval" stage, where a RecordKey
is used to obtain a structured message definition from a YAML language file or
other backing store.
Key Components
Retriever
– A functional interface that abstracts the retrieval of message records.MessageRetriever
– Default implementation that uses aQueryHandler
and guarantees a non-null fallback result.
This stage enables downstream processors to work exclusively with structured
MessageRecord
instances, insulating the rest of the pipeline from
missing or malformed entries.
- See Also:
-
ClassDescriptionDefault implementation of the
Retriever
interface that retrieves aMessageRecord
using aQueryHandler
.A functional interface representing the first stage of the message pipeline: retrieving aMessageRecord
associated with a givenRecordKey
.