findPlugin

@Nullable
abstract fun findPlugin(id: String): @Nullable Plugin(source)

Returns the plugin for the given id.

Return

the plugin or null if no plugin for the given id exists.

Since

0.7

Parameters

id

The id of the plugin


@Nullable
abstract fun <T : Plugin?> findPlugin(type: Class<T>): @Nullable T(source)

Returns the plugin for the given type.

Return

the plugin or null if no plugin for the given type exists.

Since

0.7

Parameters

type

The type of the plugin