Base Config
fun BaseConfig(name: String = "", parent: BaseConfig? = null, mapper: ObjectMapper = createDefaultMapper(), specsInLayer: MutableList<Spec> = mutableListOf(), featuresInLayer: MutableMap<Feature, Boolean> = mutableMapOf(), nodeByItem: MutableMap<Item<*>, BaseConfig.ItemNode> = mutableMapOf(), tree: TreeNode = ContainerNode.placeHolder(), hasChildren: BaseConfig.Value<Boolean> = Value(false), beforeSetFunctions: MutableList<(item: Item<*>, value: Any?) -> Unit> = mutableListOf(), afterSetFunctions: MutableList<(item: Item<*>, value: Any?) -> Unit> = mutableListOf(), beforeLoadFunctions: MutableList<(source: Source) -> Unit> = mutableListOf(), afterLoadFunctions: MutableList<(source: Source) -> Unit> = mutableListOf(), lock: ReentrantReadWriteLock = ReentrantReadWriteLock())
Content copied to clipboard
Sources
jvm source
Link copied to clipboard