add nextflow d30e48d
This commit is contained in:
17
nextflow/docs/developer/nextflow.plugin.md
Normal file
17
nextflow/docs/developer/nextflow.plugin.md
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
# `nextflow.plugin`
|
||||
|
||||
The `nextflow.plugin` package implements the plugin manager.
|
||||
|
||||
## Class Diagram
|
||||
|
||||
```{mermaid} diagrams/nextflow.plugin.mmd
|
||||
```
|
||||
|
||||
```{note}
|
||||
Some classes may be excluded from the above diagram for brevity.
|
||||
```
|
||||
|
||||
## Notes
|
||||
|
||||
The plugin system uses the [PF4J](https://pf4j.org/) library, which allows for extension classes to be loaded at runtime. Each plugin includes a manifest of extension classes, all of which extend or implement some base class in Nextflow. The `Plugins` class can be used to query the available extensions for a given base class. Extensions can be assigned a priority using the `@Priority` annotation, to ensure that certain extensions are used over others when available.
|
||||
Reference in New Issue
Block a user