Class StoryInteractionParameterConverter


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

    Copyright (c) 2020 Daniel Keiss, Deutsche Telekom IT GmbH 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

      • StoryInteractionParameterConverter

        public StoryInteractionParameterConverter()
    • Method Detail

      • getValueFromKeyOrValueOrConcatenated

        @AsParameterConverter
        public String getValueFromKeyOrValueOrConcatenated​(String keyOrValueOrConcatenated)
      • getRowsWithInteractionKey

        public List<Map<String,​String>> getRowsWithInteractionKey​(org.jbehave.core.model.ExamplesTable examplesTable)
      • isKey

        protected boolean isKey​(String keyOrValueOrConcatenated)
      • isConcatenatedKey

        protected boolean isConcatenatedKey​(String keyOrValueOrConcatenated)
      • concatenatedKey

        protected String concatenatedKey​(String concatenatedKey)
      • mapToValue

        protected String mapToValue​(String keyOrValueOrConcatenated)
      • getStoryInteractionValue

        protected String getStoryInteractionValue​(String key)