write

abstract fun write(serializedContent: Map<String, T>)

Writes the given serializedContent to the file of this config.


abstract fun write(instance: Any)

Writes the given instance to the file of this config. E.g., the VitalPropertiesConfigProcessor first serialized its content via serialize and then calls write with it.


abstract fun write(key: String, value: T)

Writes the given value to the property with the given key to the data of this config.