PropertiesAware

interface PropertiesAware

Properties holder. Allows to store and retrieve any data.

Functions

Link copied to clipboard
abstract fun register(key: String, value: Any)

Binds a given value with given key and stores it for later use.

Properties

Link copied to clipboard
abstract val properties: Map<String, Any?>

Raw properties.

Inheritors

Link copied to clipboard

Extensions

Link copied to clipboard
inline fun <T : Any> PropertiesAware.getOrNull(key: String): T?

Allows to retrieve stored properties in a type safe way.