subkt / myaa.subkt.tasks / TaskGroup / createItem
protected fun createItem(entry: String, isBatch: Boolean, episodes: List<String>): TaskProvider<T> (source)
Overrides ItemGroup.createItem
Registers a new task for the given entry, or returns an existing task if it exists. The returned task will following the naming scheme name.[entry](create-item.md#myaa.subkt.tasks.TaskGroup$createItem(kotlin.String, kotlin.Boolean, kotlin.collections.List((kotlin.String)))/entry).
entry - The entry for this task, i.e. the episode or the batch identifier.
isBatch - True if this corresponds to a batch task.
episodes - The episodes that correspond to this entry. Usually a single-element
list containing [entry](create-item.md#myaa.subkt.tasks.TaskGroup$createItem(kotlin.String, kotlin.Boolean, kotlin.collections.List((kotlin.String)))/entry) if [isBatch](create-item.md#myaa.subkt.tasks.TaskGroup$createItem(kotlin.String, kotlin.Boolean, kotlin.collections.List((kotlin.String)))/isBatch) is false.