getPlugin

Get the plugin instance.

Return

created plugin instance

Parameters

clazz

the same class type that was used when instantiating the plugin

abstract fun <T> getPlugin(clazz: Class<T>): T?

Get the plugin instance from name.

Return

created plugin instance

Parameters

className

abstract fun <T> getPlugin(className: String): T?