include

inline fun <E> Task<E>.include(subtree: String? = null, lazy: Boolean = false, init: Include<E>.() -> Unit = {}): Int

Creates and adds an Include to the receiver Task.

Return

the index where the Include has been added.

Parameters

subtree

the path of the subtree to include.

lazy

indicates whether the subtree should be included at clone-time ({@code false}, the default) or at run-time ({@code true}).

init

an optional inline block to configure the Include.

Type Parameters

E

the type of the receiving task's blackboard.