CommandMappingsBuilder
Extends Mappings with type-safe command and destination overloads for CommandDispatcher-based dispatcher modules.
Subclasses supply concrete command type C and destination type D, giving callers enum-based safety for both. All base Mappings methods remain available via delegation.
Example:
class MyMappings : CommandMappingsBuilder<MyCommand, MyDestination>()Functions
Keeps a typed destination path unchanged (source == destination).
Adds a mapping where the possibly nested path is both the source and destination of the mapping.
Adds a mapping where the key is both the source and destination of the mapping.
Maps a typed command to com.tealium.prism.core.api.tracking.Dispatch.Keys.COMMAND_NAME.
Adds a mapping where the value to map is given by the constant name and will be mapped to a fixed destination of Dispatch.Keys.COMMAND_NAME.
Maps a constant value to a typed destination path.
Adds a mapping where the value to map is given by the constant value and will be mapped to the given destination located/stored at some configured level of nesting as defined by the JsonObjectPath.
Adds a mapping where the value to map is given by the constant value and will be mapped to the given destination
Maps a nested path to a typed destination path.
Maps a payload key to a typed destination path.
Adds a mapping where both the path and destination can be located/stored at some configured level of nesting as defined by the JsonObjectPath for each input.
Adds a mapping where the destination is to be in the top level of the mapped payload, but the source key is defined at some nested object/list as defined by path.
Adds a mapping where the key is to be found in the top level of the input payload, but the destination key is to be defined at some nested object/list as defined by destination.
Adds a mapping where the key and destination are in the top level of the payload.
Utility method to start creating JsonObjectPaths. This method is shorthand for JsonPath.root