| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MANIFEST_COMMUNITY |
static java.lang.String |
MANIFEST_FILE |
static java.lang.String |
MANIFEST_IMPLEMENTATION_TITLE |
static java.lang.String |
MANIFEST_SHARE |
static java.lang.String |
MANIFEST_SPECIFICATION_TITLE |
static java.lang.String |
MANIFEST_SPECIFICATION_VERSION |
protected static java.lang.String |
REGEX_NUMBER_OR_DOT |
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 |
checkCompatibleEditionUsingManifest(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
Checks to see if the module that is being installed is compatible with the war, (using the entry in the manifest).
|
void |
checkCompatibleVersion(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
Checks to see if the module is compatible with the version of Alfresco.
|
protected void |
checkCompatibleVersionUsingManifest(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
Checks if the module is compatible using the entry in the manifest.
|
void |
checkModuleDependencies(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
Checks the dependencies of this module
|
protected java.lang.String |
findManifestArtibute(de.schlichtherle.truezip.file.TFile war,
java.lang.String attributeName)
Finds a single attribute from a war manifest file.
|
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
|
boolean |
isShareWar(de.schlichtherle.truezip.file.TFile warFile)
Indicates if the war file specified is a "Share" war.
|
public static final java.lang.String VERSION_PROPERTIES
public static final java.lang.String MANIFEST_FILE
public static final java.lang.String MANIFEST_SPECIFICATION_TITLE
public static final java.lang.String MANIFEST_SPECIFICATION_VERSION
public static final java.lang.String MANIFEST_IMPLEMENTATION_TITLE
public static final java.lang.String MANIFEST_SHARE
public static final java.lang.String MANIFEST_COMMUNITY
protected static final java.lang.String REGEX_NUMBER_OR_DOT
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 warprotected void checkCompatibleVersionUsingManifest(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
war - installingModuleDetails - protected java.lang.String findManifestArtibute(de.schlichtherle.truezip.file.TFile war,
java.lang.String attributeName)
throws ModuleManagementToolException
war - the warattributeName - key name of attributeModuleManagementToolExceptionpublic 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 checkCompatibleEditionUsingManifest(de.schlichtherle.truezip.file.TFile war,
ModuleDetails installingModuleDetails)
war - installingModuleDetails - public 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 warpublic boolean isShareWar(de.schlichtherle.truezip.file.TFile warFile)
WarHelperisShareWar in interface WarHelperprotected 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 - 2013 Alfresco Software, Inc. All Rights Reserved.