Class InteractionParameterConverter
- java.lang.Object
-
- de.telekom.test.bddwebapp.interaction.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 Summary
Fields Modifier and Type Field Description static StringCONCATENATED_LITERALstatic StringKEY_LITERAL
-
Constructor Summary
Constructors Constructor Description InteractionParameterConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringconcatenatedKey(String concatenatedKey)protected <S> SgetInteractionValue(String key)<S> SgetValueFromKeyOrValueOrConcatenated(String keyOrValueOrConcatenated)protected booleanisConcatenatedKey(String keyOrValueOrConcatenated)protected booleanisKey(String keyOrValueOrConcatenated)protected <S> SmapToValue(String keyOrValueOrConcatenated)
-
-
-
Method Detail
-
getValueFromKeyOrValueOrConcatenated
public <S> S getValueFromKeyOrValueOrConcatenated(String keyOrValueOrConcatenated)
-
isKey
protected boolean isKey(String keyOrValueOrConcatenated)
-
isConcatenatedKey
protected boolean isConcatenatedKey(String keyOrValueOrConcatenated)
-
mapToValue
protected <S> S mapToValue(String keyOrValueOrConcatenated)
-
getInteractionValue
protected <S> S getInteractionValue(String key)
-
-