Interface ExtensionStartInput


  • @Immutable
    @DoNotImplement
    public interface ExtensionStartInput
    Input object for the start of an extension.
    Since:
    4.0.0, CE 2019.1
    • Method Detail

      • getServerInformation

        @NotNull ServerInformation getServerInformation()
        Get information about the HiveMQ instance the extension is running in.
        Returns:
        The ServerInformation of the input.
        Since:
        4.2.0, CE 2020.1
      • getPreviousVersion

        @NotNull Optional<String> getPreviousVersion()
        Returns:
        The previously enabled version of this extension or Optional.empty if this extension was not enabled before. An extension is identified by its ID. A previous version is only returned if this extension has been disabled at runtime. Information about previous extension versions is not retained across a server restart.
        Since:
        4.0.0, CE 2019.1