AbstractPlugin

abstract class AbstractPlugin(meta: Meta) : Plugin

Functions

attach
Link copied to clipboard
common
open override fun attach(context: Context)

Start this plugin and attach registration info to the context. This method should be called only via PluginManager to avoid dependency issues.

content
Link copied to clipboard
common
open fun content(target: String): Map<Name, Any>

A map of direct children for specific target

dependsOn
Link copied to clipboard
common
override fun dependsOn(): Map<PluginFactory<*>, Meta>

Plugin dependencies which are required to attach this plugin. Plugin dependencies must be initialized and enabled in the Context before this plugin is enabled.

detach
Link copied to clipboard
common
open override fun detach()

Stop this plugin and remove registration info from context and other plugins. This method should be called only via PluginManager to avoid dependency issues.

toMeta
Link copied to clipboard
common
open override fun toMeta(): Meta

Properties

context
Link copied to clipboard
common
open override val context: Context

Get context for this object

defaultChainTarget
Link copied to clipboard
common
open val defaultChainTarget: String

Default target for next chain segment

defaultTarget
Link copied to clipboard
common
open val defaultTarget: String

Default target for this provider

meta
Link copied to clipboard
common
open override val meta: Meta
name
Link copied to clipboard
common
open override val name: Name

The name of this plugin ignoring version and group

tag
Link copied to clipboard
common
abstract val tag: PluginTag

Get tag for this plugin

Inheritors

DefaultLogManager
Link copied to clipboard
ConsoleLogManager
Link copied to clipboard
ClassLoaderPlugin
Link copied to clipboard
SlfLogManager
Link copied to clipboard