getIntegerProperty

open fun getIntegerProperty(propertyName: String): Integer

Convenience method to retrieve a property from the dynamic properties Map that is expected to be an Integer. Any parsing errors will yield a null response.

Return

the value of the property, or null if it cannot be found or cannot be parsed to an Integer

Parameters

propertyName

the Map key for the desired property


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

Convenience static method to retrieve a property from a properties Map that is expected to be an Integer. Any parsing errors will yield a null response.

Return

the value of the property, or null if it cannot be found or cannot be parsed to an Integer

Parameters

properties

the properties Map object

propertyName

the Map key for the desired property