Uses of Class
com.winterhavenmc.library.messagebuilder.core.maps.MacroStringMap
Packages that use MacroStringMap
Package
Description
Provides classes that expose a uniform interface for accessing structured data
from diverse object types used within MessageBuilderLib.
Provides internal map types used in macro extraction and message formatting.
Provides mechanisms for extracting macro-compatible string values from objects
that have been adapted by the
Accessor system.Provides a hierarchy of
ValueResolver
implementations responsible for converting macro-related input values into string representations
for use in templated messages.-
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors
Methods in com.winterhavenmc.library.messagebuilder.adapters.pipeline.accessors that return MacroStringMapModifier and TypeMethodDescription<T> MacroStringMapMacroFieldAccessor.extract(ValidMacroKey baseKey, Accessor accessor, T adapted) Extracts macro string values from the adapted object using the accessor's corresponding interface, such asNameableorLocatable. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.adapters.pipeline.resolvers.value
Methods in com.winterhavenmc.library.messagebuilder.adapters.pipeline.resolvers.value that return MacroStringMapModifier and TypeMethodDescriptionAtomicResolver.resolve(ValidMacroKey macroKey, MacroObjectMap macroObjectMap) Resolves a single value mapped to the providedValidMacroKeyinto a string representation, if the object exists and can be formatted.CompositeResolver.resolve(ValidMacroKey macroKey, MacroObjectMap macroObjectMap) Resolves aValidMacroKeyby attempting to adapt the associated object from theMacroObjectMapusing applicableAccessorinstances.MacroValueResolver.resolve(ValidMacroKey macroKey, MacroObjectMap macroObjectMap) Resolves aValidMacroKeyusing the available macro objects in the givenMacroObjectMap, by delegating to each registered resolver in sequence. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.maps
Methods in com.winterhavenmc.library.messagebuilder.core.maps that return MacroStringMapModifier and TypeMethodDescriptionstatic MacroStringMapMacroStringMap.empty()Returns a new, emptyMacroStringMap.MacroStringMap.with(ValidMacroKey key, String value) Adds a string-value pair to this map and returns the map itself.Methods in com.winterhavenmc.library.messagebuilder.core.maps with parameters of type MacroStringMapModifier and TypeMethodDescriptionvoidMacroStringMap.putAll(MacroStringMap insertionMap) Inserts all entries from anotherMacroStringMapinto this map. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors that return MacroStringMapModifier and TypeMethodDescription<T> MacroStringMapFieldAccessor.extract(ValidMacroKey baseKey, Accessor accessor, T adapted) Extracts a set of macro string values from an adapted object and returns a map of placeholder keys to replacement strings. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.displayname
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.displayname that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapDisplayNameable.extractDisplayName(ValidMacroKey baseKey, AccessorCtx ctx) Extracts aMacroStringMapcontaining the formatted display name under theDISPLAY_NAMEsubkey of the given base string. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.duration
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.duration that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapDurationable.extractDuration(ValidMacroKey baseKey, ChronoUnit lowerBound, AccessorCtx ctx) Extracts aMacroStringMapcontaining a single entry mapping the providedValidMacroKey(with.DURATIONappended) to a localized string representation of this object's duration. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.expiration
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.expiration that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapExpirable.extractExpiration(ValidMacroKey baseKey, ChronoUnit lowerBound, FormatStyle formatStyle, AccessorCtx ctx) Extracts macro string-value pairs for this object's expiration, including a formatted duration and a formatted instant string. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.identity
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.identity that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapIdentifiable.extractUid(ValidMacroKey baseKey, AccessorCtx ctx) Extracts a macro string map containing the UUID field. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.instant
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.instant that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapInstantable.extractInstant(ValidMacroKey baseKey, FormatStyle formatStyle, AccessorCtx ctx) Extracts a formatted timestamp field from thisInstantable, based on the givenFormatStyleand locale context. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.killer
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.killer that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapKillable.extractKiller(ValidMacroKey baseKey, AccessorCtx ctx) Extracts a macro string map with the killer's name, using the given base string and context. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.location
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.location that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapLocatable.extractLocation(ValidMacroKey baseKey, AccessorCtx ctx) Extracts macro string-value pairs representing location data from this object. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.looter
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.looter that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapLootable.extractLooter(ValidMacroKey baseKey, AccessorCtx ctx) Extracts the looter's name as a macro replacement field. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.name
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.name that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapNameable.extractName(ValidMacroKey baseKey, AccessorCtx ctx) Extracts the name field into aMacroStringMap, using the provided base string to construct a dot-notated macro string (e.g.,OBJECT.NAME). -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.owner
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.owner that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapOwnable.extractOwner(ValidMacroKey baseKey, AccessorCtx ctx) Extracts the macro value for the owner's name and adds it to aMacroStringMap, using the{OBJECT.OWNER}string. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.pluralname
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.pluralname that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapPluralNameable.extractPluralName(ValidMacroKey baseKey, AccessorCtx ctx) Extracts aMacroStringMapcontaining the formatted plural name under thePLURAL_NAMEsubkey of the given base string. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.protection
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.protection that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapProtectable.extractProtection(ValidMacroKey baseKey, ChronoUnit lowerBound, FormatStyle formatStyle, AccessorCtx ctx) Extracts protection-related fields from this object into aMacroStringMap. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.quantity
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.quantity that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapQuantifiable.extractQuantity(ValidMacroKey baseKey, AccessorCtx ctx) Extracts aMacroStringMapcontaining the formatted quantity string. -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.url
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.url that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapUrlAddressable.extractUrl(ValidMacroKey baseKey, AccessorCtx ctx) -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.version
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.accessors.version that return MacroStringMapModifier and TypeMethodDescriptiondefault MacroStringMapVersionable.extractVersion(ValidMacroKey baseKey, AccessorCtx ctx) -
Uses of MacroStringMap in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.resolvers.macro
Methods in com.winterhavenmc.library.messagebuilder.core.ports.pipeline.resolvers.macro that return MacroStringMapModifier and TypeMethodDescriptionValueResolver.resolve(ValidMacroKey key, MacroObjectMap macroObjectMap) Resolves a set of string values from the givenMacroObjectMapfor the providedValidMacroKey.