public class WarHelperImpl extends java.lang.Object implements WarHelper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERSION_PROPERTIES |
MODULE_CONFIG_IN_WAR, MODULE_NAMESPACE_DIR| Constructor and Description |
|---|
WarHelperImpl(LogOutput log) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkCompatibleEdition(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
This checks to see if the module that is being installed is compatible with the war.
|
void |
checkCompatibleVersion(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
Checks to see if the module is compatible with the version of Alfresco.
|
void |
checkModuleDependencies(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
Checks the dependencies of this module
|
protected ModuleDetails |
getModuleDetails(de.schlichtherle.truezip.file.TFile war,
java.lang.String moduleId)
Gets the module details for the specified module from the war.
|
ModuleDetails |
getModuleDetailsOrAlias(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
Gets the module details or an available alias
|
public static final java.lang.String VERSION_PROPERTIES
public WarHelperImpl(LogOutput log)
public void checkCompatibleVersion(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
WarHelpercheckCompatibleVersion in interface WarHelperwar - a valid war file or exploded directory from a warpublic void checkCompatibleEdition(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
WarHelpercheckCompatibleEdition in interface WarHelperwar - a valid war file or exploded directory from a warpublic void checkModuleDependencies(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
WarHelpercheckModuleDependencies in interface WarHelperpublic ModuleDetails getModuleDetailsOrAlias(de.schlichtherle.truezip.file.TFile war, ModuleDetails installingModuleDetails)
WarHelpergetModuleDetailsOrAlias in interface WarHelperwar - a valid war file or exploded directory from a warprotected ModuleDetails getModuleDetails(de.schlichtherle.truezip.file.TFile war, java.lang.String moduleId)
war - a valid war file or exploded directory from a warmoduleId - Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.