kettle

Kotlin utilities for Quilt mod development


Project maintained by Cypher121 Hosted on GitHub Pages — Theme by mattgraham

//kettle/coffee.cypher.kettle.scheduler/TaskBuilder

TaskBuilder

open class TaskBuilder<T : Any>

A builder object used with DSL extensions to create a Task.

Inheritors

 
AttachedTaskBuilder

Properties

Name Summary
name [jvm]
var name: String
the name of the created task
run [jvm]
val run: (configuration: ExecutionConfiguration) -> Unit
Configuration setter for this builder.

Functions

Name Summary
action [jvm]
fun <T : Any> TaskBuilder<T>.action(block: TaskBlock<T>)
Sets the function executed by the Task to the provided block.