Package de.telekom.test.bddwebapp.steps
Class StoryInteractionParameterConverter
- java.lang.Object
-
- de.telekom.test.bddwebapp.steps.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 Summary
Fields Modifier and Type Field Description static StringCONCATENATED_LITERALstatic StringKEY_LITERAL
-
Constructor Summary
Constructors Constructor Description StoryInteractionParameterConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringconcatenatedKey(String concatenatedKey)List<Map<String,String>>getRowsWithInteractionKey(org.jbehave.core.model.ExamplesTable examplesTable)protected StringgetStoryInteractionValue(String key)StringgetValueFromKeyOrValueOrConcatenated(String keyOrValueOrConcatenated)protected booleanisConcatenatedKey(String keyOrValueOrConcatenated)protected booleanisKey(String keyOrValueOrConcatenated)protected StringmapToValue(String keyOrValueOrConcatenated)
-
-
-
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)
-
-