All Downloads are FREE. Search and download functionalities are using the official Maven repository.

mb.pie.runtime.taskdefs.Map.kt Maven / Gradle / Ivy

The newest version!
package mb.pie.runtime.taskdefs

import mb.pie.api.*

/**
 * Task definitions from an immutable map.
 */
open class MapTaskDefs(private val taskDefs: Map>) : TaskDefs {
  override fun  getTaskDef(id: String): TaskDef? {
    @Suppress("UNCHECKED_CAST")
    return taskDefs[id] as TaskDef?
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy