| java.lang.Object org.mmbase.module.tools.ApplicationInstaller
ApplicationInstaller | class ApplicationInstaller (Code) | | Application installations functionality of MMAdmin.
author: Nico Klasens since: MMBase-1.8 version: $Id: ApplicationInstaller.java,v 1.14 2007/10/02 12:15:14 michiel Exp $ |
Method Summary | |
public boolean | installApplication(String applicationName, int requiredVersion, String requiredMaintainer, ApplicationResult result, Set<String> installationSet, boolean autoDeploy) | public void | installApplications() | protected boolean | installDataSources(List<Map<String, String>> dataSources, String appName, ApplicationResult result) | boolean | installRelationSources(List<Map<String, String>> ds, String appname, ApplicationResult result) |
installApplication | public boolean installApplication(String applicationName, int requiredVersion, String requiredMaintainer, ApplicationResult result, Set<String> installationSet, boolean autoDeploy) throws SearchQueryException(Code) | | Installs the application
Parameters: applicationName - Name of the application file, without the xml extensionThis is also assumed to be the name of teh application itself(if not, a warning will be issued) Parameters: result - the result object, containing error messages when the installation fails,or the installnotice if succesfull or already installed Parameters: installationSet - set of installations that are currently being installed.used to check if there are circular dependencies Parameters: autoDeploy - if true, the installation is only installed if the application is set to autodeploy true if succesfull, false otherwise |
|
|