subkt / myaa.subkt.tasks / ItemGroup / batchItems
fun batchItems(entries: Iterable<String>): List<T> (source)
Get all items corresponding to the specified entries.
mux.batchItems(listOf("01", "02", "03", "04")) // returns the mux.01, mux.02, mux.03, mux.04 tasksentries - A list of entries to get the items for.fun batchItems(entries: Provider<out Iterable<String>>): List<T> (source)
Get all items corresponding to the specified entries.
mux.batchItems(listOf("01", "02", "03", "04")) // returns the mux.01, mux.02, mux.03, mux.04 tasksentries - A provider for a list of entries to get the items for.fun batchItems(task: Task): List<T> (source)
Get all items corresponding to the episodes of the given task.
// assume batch vol1 contains episodes 01, 02, 03, and 04
tasks(listOf("vol1")) { // configure tasks for vol1 only
mux {
merge.batchItems(this) // returns merge.01, merge.02, merge.03, merge.04
}
}