class PropertyDSL<T : Any, R> : LimitedAccessItemDSL<T>, Target
<init> |
PropertyDSL(name: String, block: PropertyDSL<T, R>.() -> Unit) |
name |
val name: String |
accessRule |
fun accessRule(rule: (T, Context) -> Exception?): Unit |
addInputValues |
fun addInputValues(inputValues: Collection<InputValueDef<*>>): Unit |
resolver |
fun resolver(function: suspend (T) -> R): ResolverDSLfun <E> resolver(function: suspend (T, E) -> R): ResolverDSLfun <E, W> resolver(function: suspend (T, E, W) -> R): ResolverDSLfun <E, W, Q> resolver(function: suspend (T, E, W, Q) -> R): ResolverDSLfun <E, W, Q, A> resolver(function: suspend (T, E, W, Q, A) -> R): ResolverDSLfun <E, W, Q, A, S> resolver(function: suspend (T, E, W, Q, A, S) -> R): ResolverDSL |
setReturnType |
fun setReturnType(type: KType): Unit |
toKQLProperty |
fun toKQLProperty(): Function<T, R> |