public interface WarHelper
| Modifier and Type | Field and Description |
|---|---|
static String |
MODULE_CONFIG_IN_WAR |
static String |
MODULE_NAMESPACE_DIR |
| Modifier and Type | Method and Description |
|---|---|
String |
backup(de.schlichtherle.truezip.file.TFile file)
Backs up a given file or directory.
|
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
|
Manifest |
findManifest(de.schlichtherle.truezip.file.TFile war)
Finds a war manifest file.
|
ModuleDetails |
getModuleDetailsOrAlias(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
Gets the module details or an available alias
|
boolean |
isShareWar(de.schlichtherle.truezip.file.TFile war)
Indicates if the war file specified is a "Share" war.
|
List<ModuleDetails> |
listModules(de.schlichtherle.truezip.file.TFile war)
Lists all the currently installed modules in the WAR
|
static final String MODULE_NAMESPACE_DIR
static final String MODULE_CONFIG_IN_WAR
ModuleDetails getModuleDetailsOrAlias(de.schlichtherle.truezip.file.TFile war, ModuleDetails installingModuleDetails)
war - a valid war file or exploded directory from a warinstallingModuleDetails - ModuleDetailsvoid checkModuleDependencies(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
war - TFileinstallingModuleDetails - ModuleDetailsvoid checkCompatibleVersion(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
war - a valid war file or exploded directory from a warvoid checkCompatibleEdition(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
war - a valid war file or exploded directory from a warinstallingModuleDetails - ModuleDetailsboolean isShareWar(de.schlichtherle.truezip.file.TFile war)
war - TFileList<ModuleDetails> listModules(de.schlichtherle.truezip.file.TFile war)
war - the warModuleManagementToolExceptionString backup(de.schlichtherle.truezip.file.TFile file) throws IOException
file - the file to backupIOExceptionManifest findManifest(de.schlichtherle.truezip.file.TFile war) throws ModuleManagementToolException
war - the warModuleManagementToolExceptionCopyright © 2005–2018 Alfresco Software. All rights reserved.