Add overridable method "setup" for defining properties
This commit is contained in:
@@ -33,6 +33,8 @@ open class ScriptingProperties(body: ScriptingProperties.() -> Unit = {}) {
|
||||
body()
|
||||
}
|
||||
|
||||
open fun setup() {}
|
||||
|
||||
internal fun makePropertyBag(): ChainedPropertyBag =
|
||||
ChainedPropertyBag.createOptimized(parentPropertiesBag ?: parentPropertiesBuilder?.makePropertyBag(), data)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user