com.sap.ip.me.api.deploy
Interface AddOnInstaller


public interface AddOnInstaller

This Interface has to be implemented by every AddOn that wants to take over installation tasks itself.

Author:
SAP

Method Summary
 void install(java.lang.String[] listOfFiles)
          This method is called upon installation of the AddOn.
 java.lang.String toString()
          Returns a short textual representation of the installer.
 void uninstall(java.lang.String[] listOfFiles)
          This method is called upon uninstallation of the AddOn.
 

Method Detail

install

public void install(java.lang.String[] listOfFiles)
             throws java.lang.Exception
This method is called upon installation of the AddOn. Before, the AddOn mechanism already extracted the content of the AddOn .zip file.

Parameters:
listOfFiles - A list of all the absolute paths of the files that were extracted by the AddOn mechanism
Throws:
java.lang.Exception - Thrown if something goes wrong during the install process

uninstall

public void uninstall(java.lang.String[] listOfFiles)
               throws java.lang.Exception
This method is called upon uninstallation of the AddOn.

Parameters:
listOfFiles - A list of all the absolute paths of the files that were extracted by the AddOn mechanism
Throws:
java.lang.Exception - Thrown if something goes wrong during the uninstall process

toString

public java.lang.String toString()
Returns a short textual representation of the installer.

Returns:
a short textual representation of the installer


Copyright © 2005 SAP AG. All Rights Reserved.