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.


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

Method Detail

install

public void install(String[] listOfFiles)
             throws 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:
Exception - Thrown if something goes wrong during the install process

uninstall

public void uninstall(String[] listOfFiles)
               throws 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:
Exception - Thrown if something goes wrong during the uninstall process

toString

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

Returns:
a short textual representation of the installer


Copyright 2006 SAP AG Complete Copyright Notice