PageBoxLib
Interface InstallIF


public interface InstallIF

Interface of the Installation class.

Changes:

alexis.grandemange@pagebox.net

Copyright (c) 2002-2004 Alexis Grandemange

This program is free software; you can redistribute it and/or
 modify it under the terms of the GNU Lesser General Public License
 as published by the Free Software Foundation; version 2.1 of the
 License.
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 GNU Lesser General Public License for more details.
 A copy of the GNU Lesser General Public License lesser.txt should be
 included in the distribution.

Version:
0, 0, 7
Author:
Alexis Grandemange

Method Summary
 java.lang.String install(java.lang.String archPath, PageBoxAPI pba, java.util.Map resources, boolean toUpdate)
          Called to perform the post installation
 java.lang.String uninstall(java.lang.String archPath, PageBoxAPI pba, java.util.Map resources, boolean toUpdate)
          Called to perform the pre deinstallation
 

Method Detail

install

public java.lang.String install(java.lang.String archPath,
                                PageBoxAPI pba,
                                java.util.Map resources,
                                boolean toUpdate)
                         throws java.lang.Exception
Called to perform the post installation

Parameters:
archPath - archive root directory
pba - PageBoxAPI object
toUpdate - true when archive installed before
Returns:
null or error message
Throws:
java.lang.Exception

uninstall

public java.lang.String uninstall(java.lang.String archPath,
                                  PageBoxAPI pba,
                                  java.util.Map resources,
                                  boolean toUpdate)
                           throws java.lang.Exception
Called to perform the pre deinstallation

Parameters:
archPath - archive root directory
pba - PageBoxAPI object
toUpdate - true when called before an update
Returns:
null or error message
Throws:
java.lang.Exception