Class InteractionParameterConverter


  • @Component
    public class InteractionParameterConverter
    extends Object
    Maps interaction key like $key to value. Simple values will return as value.
    Author:
    Daniel Keiss <daniel.keiss@telekom.de>

    Copyright (c) 2019 Daniel Keiss, Deutsche Telekom AG This file is distributed under the conditions of the Apache License, Version 2.0. For details see the file license on the toplevel.

    • Field Detail

      • KEY_LITERAL

        public static String KEY_LITERAL
      • CONCATENATED_LITERAL

        public static String CONCATENATED_LITERAL
    • Constructor Detail

      • InteractionParameterConverter

        public InteractionParameterConverter()
    • Method Detail

      • getValueFromKeyOrValueOrConcatenated

        public <S> S getValueFromKeyOrValueOrConcatenated​(String keyOrValueOrConcatenated)
      • isKey

        protected boolean isKey​(String keyOrValueOrConcatenated)
      • isConcatenatedKey

        protected boolean isConcatenatedKey​(String keyOrValueOrConcatenated)
      • concatenatedKey

        protected String concatenatedKey​(String concatenatedKey)
      • mapToValue

        protected <S> S mapToValue​(String keyOrValueOrConcatenated)
      • getInteractionValue

        protected <S> S getInteractionValue​(String key)