getStringProperty

open fun getStringProperty(propertyName: String): String

Convenience method to retrieve a property from the dynamic properties Map that is expected to be a String.

Return

the value of the property, or null if it cannot be found or is not a String

Parameters

propertyName

the Map key for the desired property


open fun getStringProperty(properties: Map<String, Any>, propertyName: String): String

Convenience static method to retrieve a property from a properties Map that is expected to be a String.

Return

the value of the property, or null if it cannot be found or is not a String

Parameters

properties

the properties Map object

propertyName

the Map key for the desired property