All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.internal.actions.ReadValueStateAction.kt Maven / Gradle / Ivy

There is a newer version: 0.23.0
Show newest version
package io.kform.internal.actions

import io.kform.AbsolutePath
import io.kform.AbsolutePathFragment
import io.kform.FormManager
import io.kform.internal.AccessValueStateTree
import io.kform.internal.ActionAccess
import io.kform.internal.ActionAccessType

/** Action reading values and/or their state. */
internal abstract class ReadValueStateAction(formManager: FormManager, val path: AbsolutePath) :
    ValueStateAction(formManager) {
    override val accesses: List =
        mutableListOf(AccessValueStateTree(ActionAccessType.Read))

    override val accessedPaths: List =
        mutableListOf(path + AbsolutePathFragment.RecursiveWildcard)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy