PluginLoader class
Discovers and registers plugins from a project's migrator/plugins/ directory.
Note: Runtime loading is not yet implemented — plugins must be compiled into the tool. Detection only prints a warning and returns.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
loadedAdapters
→ List<
CustomAdapter> -
Adapters registered via registerAdapter.
final
-
loadedTransformers
→ List<
CustomTransformer> -
Transformers registered via registerTransformer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
loadPlugins(
String projectPath) → void -
Scans
projectPathfor amigrator/plugins/directory and prints a warning when found. Plugin loading is a placeholder for future work. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAdapter(
CustomAdapter adapter) → void - Registers a CustomAdapter to be run during each file scan.
-
registerTransformer(
CustomTransformer transformer) → void - Registers a CustomTransformer to be applied after scanning.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited