Class ManageExtensionPlugin

    • Method Detail

      • preInstall

        public PreManageExtensionPluginResult preInstall​(InstallExtensionDetails details)
        Invoked when an extension is first installed before shutting down the server and any files are copied to the server installation.
        Parameters:
        details - The state of the install before any files are copied.
        Returns:
        Whether to continue the installation process.
      • postInstall

        public PostManageExtensionPluginResult postInstall​(InstallExtensionDetails details)
        Invoked when an extension is first installed after all files are copied to the server installation but before restarting the server.
        Parameters:
        details - The state of the install after all files are copied.
        Returns:
        Whether the server should be restarted after the install if previous started.
      • preUpdate

        public PreManageExtensionPluginResult preUpdate​(UpdateExtensionDetails details)
        Invoked when an extension is updated before shutting down the server and any files are updated to the server installation.
        Parameters:
        details - The state of the update before any files are updated.
        Returns:
        Whether to continue the update process.
      • postUpdate

        public PostManageExtensionPluginResult postUpdate​(UpdateExtensionDetails details)
        Invoked when an extension is updated after all files are update to the server installation but before restarting the server.
        Parameters:
        details - The state of the update after all files are updated.
        Returns:
        Whether the server should be restarted after the update if previous started.