public class BSMConfigHelper extends Object
Constructor and Description |
---|
BSMConfigHelper() |
Modifier and Type | Method and Description |
---|---|
static BusinessServiceSearchCriteria |
fromMap(Map<String,String> map)
Created as business service search criteria for a given map.
|
static boolean |
getBooleanForKey(Map<String,String> map,
String key)
Returns a boolean value for a given key from the map where "1", "true", "yes" and "on"
are interpeted as boolean true, otherwise false.
|
static int |
getIntForKey(Map<String,String> map,
String key,
int defaultValue)
Returns the int value for a given key.
|
static String |
getStringForKey(Map<String,String> map,
String key,
String defaultValue)
Returns the string value for a given key.
|
public static boolean getBooleanForKey(Map<String,String> map, String key)
map
- the map to be usedkey
- the keypublic static String getStringForKey(Map<String,String> map, String key, String defaultValue)
map
- the map to usekey
- the keydefaultValue
- default valuepublic static int getIntForKey(Map<String,String> map, String key, int defaultValue)
map
- the map to be usedkey
- the keydefaultValue
- default valuepublic static BusinessServiceSearchCriteria fromMap(Map<String,String> map)
map
- the map to inverstigateCopyright © 2021. All rights reserved.