Class Integration
java.lang.Object
fr.flowarg.flowupdater.integrations.Integration
- Direct Known Subclasses:
CurseForgeIntegration,ModrinthIntegration,OptiFineIntegration
The new Integration system replaces an old plugin system
which had some problems such as unavailability to communicate directly with FlowUpdater.
This new system is easier to use: no more annoying updater's options, no more extra-dependencies.
Polymorphism and inheritance can now be used to avoid code duplication.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionIntegration(fr.flowarg.flowlogger.ILogger logger, Path folder) Default constructor of a basic Integration. -
Method Summary
-
Field Details
-
logger
protected final fr.flowarg.flowlogger.ILogger logger -
folder
-
-
Constructor Details
-
Integration
Default constructor of a basic Integration.- Parameters:
logger- the logger used.folder- the folder where the plugin can work.- Throws:
Exception- if an error occurred.
-