Suppliers are services provided by various plugins which provide information about particular content. This is made particular use of by the Reporting Plugin, which uses suppliers to generate the content of the reports displayed. This is done by using supplier keychains in macros such as report-info, as well as with parameter injection in macros like link-page and date-filter.
Providing your own Suppliers
The Supplier architecture has been designed to allow 3rd-party plugins to provide their own supplier implementations. This can be advantageous for both users and plugin developers for many reasons, including the following:
- Teach me Once: Consistent method for accessing and displaying data across plugins.
- Don't Reinvent the Wheel: Enables use of existing plugins (such as the Reporting Plugin and Linking Plugin) while accessing new data sources.
For more information on how to provide or make use of suppliers in your own plugin, check out the Confluence Supplier Library documentation.