Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

106699: Made the listModules method public so you can find out what modules are installed. UTF-77


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@106795 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-06-23 07:07:13 +00:00
parent 042003a1cd
commit 6e3fb93759
5 changed files with 222 additions and 133 deletions

View File

@@ -4,6 +4,8 @@ import org.alfresco.service.cmr.module.ModuleDetails;
import de.schlichtherle.truezip.file.TFile;
import java.util.List;
/**
* Performs various actions on a war file or exploded war directory
*
@@ -54,5 +56,13 @@ public interface WarHelper
* @return boolean - true if it is a share war
*/
public boolean isShareWar(TFile war);
/**
* Lists all the currently installed modules in the WAR
* @since 5.1
* @param war the war
* @return List<ModuleDetails> an unordered list of module details.
* @throws ModuleManagementToolException
*/
List<ModuleDetails> listModules(TFile war);
}