PluginRegistry class

Registry for ZorphyPlugin instances.

Plugins are registered by name. ordered returns them in topological order determined by ZorphyPlugin.runBefore and ZorphyPlugin.runAfter constraints, using Kahn's algorithm with registration-order fallback -- the same stable-sort pattern used by ClassGraph.topological.

Constructors

PluginRegistry()
Creates an empty registry.

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
Whether any plugins are registered.
no setter
length → int
Returns the number of registered plugins.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
ordered() → List<ZorphyPlugin>
Returns all registered plugins in topological order.
register(ZorphyPlugin plugin) → void
Registers a plugin.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited