Skip to content

Commit

Permalink
tmf: Add API constant for retrieving json string from TmfConfiguration
Browse files Browse the repository at this point in the history
public static final String JSON_STRING_KEY = "--json-string-key--";

This is a compromise to not having to depend on a json parsing library
in the ITmfConfiguration interface.

[Added] API constant for retrieving json string from TmfConfiguration

Signed-off-by: Bernd Hufmann <[email protected]>
  • Loading branch information
bhufmann committed Sep 18, 2024
1 parent fc21215 commit 653bbaf
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
*/
public class TmfConfiguration implements ITmfConfiguration {

/**
* Key to use in parameter map for passing a JSON string defining the
* configuration parameters.
* @since 9.5
*/
@SuppressWarnings("nls")
public static final String JSON_STRING_KEY = "--json-string-key--";

private final String fId;
private final String fName;
private final String fDescription;
Expand Down

0 comments on commit 653bbaf

Please sign in to comment.