Package com.pingidentity.util
Class Installer
- java.lang.Object
-
- com.unboundid.directory.sdk.common.api.ManageExtensionPlugin
-
- com.pingidentity.util.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 extensionString
getExtensionName()
Returns the extension namecom.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 runcom.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
-
-
-
Constructor Detail
-
Installer
public Installer()
-
-
Method Detail
-
getExtensionName
public String getExtensionName()
Returns the extension name- Returns:
- the extension name
-
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 classcom.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 classcom.unboundid.directory.sdk.common.api.ManageExtensionPlugin
- Parameters:
details
- the extension bundle details- Returns:
- SUCCESS if the install was successful
-
-