Class Installer

  • All Implemented Interfaces:
    com.unboundid.directory.sdk.common.internal.UnboundIDExtension

    public class Installer
    extends com.unboundid.directory.sdk.common.api.ManageExtensionPlugin
    Created by arnaudlacour on 5/17/17.
    • Constructor Summary

      Constructors 
      Constructor Description
      Installer()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      String[] getExtensionDescription()
      Provides descriptions for the extension
      String getExtensionName()
      Returns the extension name
      com.unboundid.directory.sdk.common.types.PostManageExtensionPluginResult postInstall​(com.unboundid.directory.sdk.common.types.InstallExtensionDetails details)
      Performs the necessary processing after the extension has been installed This currently includes things like laying down schema files, updating documentation, attempting to open a browser to the extension documentation page and displaying the appropriate commands to run
      com.unboundid.directory.sdk.common.types.PostManageExtensionPluginResult postUpdate​(com.unboundid.directory.sdk.common.types.UpdateExtensionDetails details)
      Performs the necessary processing after the extension has been updated
      • Methods inherited from class com.unboundid.directory.sdk.common.api.ManageExtensionPlugin

        preInstall, preUpdate
    • Method Detail

      • getExtensionDescription

        public String[] getExtensionDescription()
        Provides descriptions for the extension
        Returns:
        an array of descriptive paragraphs
      • postUpdate

        public com.unboundid.directory.sdk.common.types.PostManageExtensionPluginResult postUpdate​(com.unboundid.directory.sdk.common.types.UpdateExtensionDetails details)
        Performs the necessary processing after the extension has been updated
        Overrides:
        postUpdate in class com.unboundid.directory.sdk.common.api.ManageExtensionPlugin
        Parameters:
        details - the extension bundle details
        Returns:
        SUCCESS if the update was successful
      • postInstall

        public com.unboundid.directory.sdk.common.types.PostManageExtensionPluginResult postInstall​(com.unboundid.directory.sdk.common.types.InstallExtensionDetails details)
        Performs the necessary processing after the extension has been installed This currently includes things like laying down schema files, updating documentation, attempting to open a browser to the extension documentation page and displaying the appropriate commands to run
        Overrides:
        postInstall in class com.unboundid.directory.sdk.common.api.ManageExtensionPlugin
        Parameters:
        details - the extension bundle details
        Returns:
        SUCCESS if the install was successful