getOrInstall

fun <C : Any, T : Any> PluginRegistry.getOrInstall(plugin: EnginePlugin<C, T>, configure: C.() -> Unit = { }): T

Deprecated

Use getOrConfigure instead

Replace with

getOrConfigure(plugin, configure)

Returns the installed plugin instance from the registry, or throws IllegalStateException of no plugin instance is found.