Class LegacyFabricInstaller

  • All Implemented Interfaces:

    
    public final class LegacyFabricInstaller
    
                        

    Information about the LegacyFabric installer and versions.

    Author:

    Griefed

    • Constructor Detail

      • LegacyFabricInstaller

        LegacyFabricInstaller(File installerManifest, Utilities utilities)
        Parameters:
        installerManifest - Manifest containing information about LegacyFabric installer versions.
        utilities - Commonly used utilities across ServerPackCreator.
    • Method Detail

      • update

         final Unit update()

        Update all lists of available versions with new information gathered from the manifest.

      • latestURL

         final URL latestURL()

        The URL to the latest installer for Legacy Fabric.

        Returns:

        URL to the latest installer for Legacy Fabric.

      • releaseURL

         final URL releaseURL()

        The URL to the release installer for Legacy Fabric.

        Returns:

        URL to the release installer for Legacy Fabric.

      • specificURL

         final Optional<URL> specificURL(String version)

        Get the URL for a specific installer version, wrapped in an Optional.

        Parameters:
        version - The version of the installer for which to get the URL.
        Returns:

        URL to the installer, for the specified version, wrapped in an Optional.