Class Integration

java.lang.Object
fr.flowarg.flowupdater.integrations.Integration
Direct Known Subclasses:
CurseForgeIntegration, ModrinthIntegration, OptiFineIntegration

public abstract class Integration extends Object
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 Details

    • logger

      protected final fr.flowarg.flowlogger.ILogger logger
    • folder

      protected final Path folder
  • Constructor Details

    • Integration

      public Integration(fr.flowarg.flowlogger.ILogger logger, Path folder) throws Exception
      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.