Uses of Interface
com.winterhavenmc.library.messagebuilder.models.configuration.ConfigRepository
Packages that use ConfigRepository
Package
Description
The core package of MessageBuilderLib, a library designed to simplify
the dynamic construction and macro-based substitution of messages in Bukkit plugins.
Provides formatting for
Duration values into localized, human-readable strings.Provides locale-aware number formatting for use in the message-building pipeline.
Provides a flexible, localized validation framework for use within the MessageBuilder library.
-
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder
Methods in com.winterhavenmc.library.messagebuilder that return ConfigRepositoryModifier and TypeMethodDescriptionMessageBuilder.config()Provides external access to the config repository -
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder.adapters.pipeline.formatters.duration
Constructors in com.winterhavenmc.library.messagebuilder.adapters.pipeline.formatters.duration with parameters of type ConfigRepositoryModifierConstructorDescriptionTime4jDurationFormatter(ConfigRepository configRepository) Constructs aTime4jDurationFormatterwith the providedConfigRepository. -
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder.adapters.pipeline.formatters.number
Constructors in com.winterhavenmc.library.messagebuilder.adapters.pipeline.formatters.number with parameters of type ConfigRepositoryModifierConstructorDescriptionLocaleNumberFormatter(ConfigRepository configRepository) Constructs a newLocaleNumberFormatterwith the given locale provider. -
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder.adapters.resources.configuration
Classes in com.winterhavenmc.library.messagebuilder.adapters.resources.configuration that implement ConfigRepositoryModifier and TypeClassDescriptionfinal classMethods in com.winterhavenmc.library.messagebuilder.adapters.resources.configuration that return ConfigRepositoryModifier and TypeMethodDescriptionstatic ConfigRepositoryBukkitConfigRepository.create(org.bukkit.plugin.Plugin plugin) Factory method to construct aLocaleProviderusing a plugin's configuration. -
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder.adapters.resources.language
Constructors in com.winterhavenmc.library.messagebuilder.adapters.resources.language with parameters of type ConfigRepositoryModifierConstructorDescriptionYamlLanguageResourceInstaller(org.bukkit.plugin.Plugin plugin, ConfigRepository configRepository) Class constructorYamlLanguageResourceLoader(org.bukkit.plugin.Plugin plugin, ConfigRepository configRepository) Class constructorYamlLanguageResourceLoader(org.bukkit.plugin.Plugin plugin, Supplier<org.bukkit.configuration.file.YamlConfiguration> yamlFactory, ConfigRepository configRepository) Testable constructor allowing custom YamlConfiguration supplier. -
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder.adapters.resources.sound
Constructors in com.winterhavenmc.library.messagebuilder.adapters.resources.sound with parameters of type ConfigRepositoryModifierConstructorDescriptionYamlSoundResourceLoader(org.bukkit.plugin.Plugin plugin, ConfigRepository configRepository) YamlSoundResourceLoader(org.bukkit.plugin.Plugin plugin, Supplier<org.bukkit.configuration.file.YamlConfiguration> configurationSupplier, ConfigRepository configRepository) -
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder.core.context
Methods in com.winterhavenmc.library.messagebuilder.core.context that return ConfigRepositoryModifier and TypeMethodDescriptionFormatterCtx.configRepository()Returns the value of theconfigRepositoryrecord component.Constructors in com.winterhavenmc.library.messagebuilder.core.context with parameters of type ConfigRepositoryModifierConstructorDescriptionFormatterCtx(ConfigRepository configRepository, DurationFormatter durationFormatter, NumberFormatter localeNumberFormatter) Creates an instance of aFormatterCtxrecord class. -
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.instant
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.instant with parameters of type ConfigRepositoryModifier and TypeMethodDescriptionInstantable.formatInstant(Instant instant, FormatStyle formatStyle, ConfigRepository configRepository) Formats the providedInstantusing the specifiedFormatStyleand locale. -
Uses of ConfigRepository in com.winterhavenmc.library.messagebuilder.models.validation
Methods in com.winterhavenmc.library.messagebuilder.models.validation with parameters of type ConfigRepositoryModifier and TypeMethodDescriptionstatic voidValidationContext.initialize(ConfigRepository provider) Initializes the validation context with the provided locale source.