Existing Domain Object Delegate Provider With Type And Action
Holds the delegate provider and expected element type for the existing
property delegate with the purpose of providing specialized implementations for the provideDelegate
operator based on the static type of the provider.
Functions
Link copied to clipboard
operator fun <T : Any, C : NamedDomainObjectCollection<T>, U : T> ExistingDomainObjectDelegateProviderWithTypeAndAction<C, U>.provideDelegate(receiver: Any?, property: KProperty<*>): ExistingDomainObjectDelegate<NamedDomainObjectProvider<U>>
Provides access to the NamedDomainObjectProvider for the element of the given property name from the container via a delegated property.
operator fun <U : Task> ExistingDomainObjectDelegateProviderWithTypeAndAction<out TaskContainer, U>.provideDelegate(receiver: Any?, property: KProperty<*>): <Error class: unknown class>
Provides a TaskProvider delegate for the task of the given type named after the property after configuring it with the given action.