class ApplicationInstaller extends Object
| Constructor and Description |
|---|
ApplicationInstaller(MMBase mmb,
MMAdmin admin) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
installApplication(String applicationName,
int requiredVersion,
String requiredMaintainer,
ApplicationResult result,
Set<String> installationSet,
boolean autoDeploy)
Installs the application
|
void |
installApplications() |
protected boolean |
installDataSources(List<Map<String,String>> dataSources,
String appName,
ApplicationResult result) |
(package private) boolean |
installRelationSources(List<Map<String,String>> ds,
String appname,
ApplicationResult result) |
public void installApplications()
throws SearchQueryException
SearchQueryExceptionpublic boolean installApplication(String applicationName, int requiredVersion, String requiredMaintainer, ApplicationResult result, Set<String> installationSet, boolean autoDeploy) throws SearchQueryException
applicationName - Name of the application file, without the xml extension
This is also assumed to be the name of teh application itself
(if not, a warning will be issued)result - the result object, containing error messages when the installation fails,
or the installnotice if succesfull or already installedinstallationSet - set of installations that are currently being installed.
used to check if there are circular dependenciesautoDeploy - if true, the installation is only installed if the application is set to autodeploySearchQueryExceptionprotected boolean installDataSources(List<Map<String,String>> dataSources, String appName, ApplicationResult result) throws SearchQueryException
SearchQueryExceptionboolean installRelationSources(List<Map<String,String>> ds, String appname, ApplicationResult result) throws SearchQueryException
SearchQueryExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}