StandalonePluginHost

class StandalonePluginHost(platform: Platform, cacheDir: Path, pluginDataDir: Path)

Standalone KTale plugin host.

Explicit assumptions (host-specific)

  • Plugins are packaged as jars that contain:

  • ktale-plugin.properties with id + main, and optionally

  • .dependencies / .repositories for runtime resolution.

  • The host builds an isolated classloader per plugin.

This is intentionally not part of ktale-api because it assumes a packaging model.

Constructors

Link copied to clipboard
constructor(platform: Platform, cacheDir: Path, pluginDataDir: Path)

Types

Link copied to clipboard
data class LoadedPlugin(val descriptor: PluginDescriptor, val instance: KtalePlugin, val classLoader: URLClassLoader, val context: PluginContext, descriptorJarPath: Path)

Functions

Link copied to clipboard
fun disable(id: String)
Link copied to clipboard
fun enable(id: String)
Link copied to clipboard