Class MapEntityContext.MapEntitySequenceYamlContext<T>

    • Constructor Detail

      • MapEntitySequenceYamlContext

        public MapEntitySequenceYamlContext​(Class<T> itemClass)
    • Method Detail

      • add

        public void add​(String name,
                        Object value)
        Description copied from interface: BlockContext
        Modifies the result returned from within this context by providing the read mapping entry name to given value.

        Called after reading a map entry (both key and value) from the YAML file is finished. The entry is represented as name parameter (key part of the entry) and value (value part of the entry).

        The method is called in the same order as the mapping items appear in the source YAML mapping.