Following ALF-14738, adding functionality to use the manifest to check the versions / editions

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@42689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Gethin James
2012-10-16 15:18:28 +00:00
parent a1b12e2f0f
commit a6fb91693a
3 changed files with 293 additions and 20 deletions

View File

@@ -44,5 +44,15 @@ public interface WarHelper
* @param installingModuleDetails
*/
public void checkCompatibleEdition(TFile war, ModuleDetails installingModuleDetails);
/**
* Indicates if the war file specified is a "Share" war. The default is FALSE
* Returns true if the Share war manifest states its a share war.
* @since 3.4.11,4.1.1,Community 4.2
*
* @param war
* @return boolean - true if it is a share war
*/
public boolean isShareWar(TFile war);
}