mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
FIXED ALF-12541: AMP files need to be able to be pinned to specific "edition(s)" of Alfresco
It is now possible to specify a module.editions property (eg. community) which is checked by the MMT. Also, the version is checked on install. Also, started refactoring some of the code for better reuse. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@33668 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -38,6 +38,7 @@ public interface ModuleDetails extends Serializable
|
||||
static final String PROP_VERSION = "module.version";
|
||||
static final String PROP_TITLE = "module.title";
|
||||
static final String PROP_DESCRIPTION = "module.description";
|
||||
static final String PROP_EDITIONS = "module.editions";
|
||||
static final String PROP_REPO_VERSION_MIN = "module.repo.version.min";
|
||||
static final String PROP_REPO_VERSION_MAX = "module.repo.version.max";
|
||||
static final String PROP_DEPENDS_PREFIX = "module.depends.";
|
||||
@@ -138,4 +139,13 @@ public interface ModuleDetails extends Serializable
|
||||
* @param installState the module install state
|
||||
*/
|
||||
void setInstallState(ModuleInstallState installState);
|
||||
|
||||
List<String> getEditions();
|
||||
|
||||
/**
|
||||
* Sets the editions of Alfresco the module is valid for
|
||||
*
|
||||
* @param edition comma seperated list of editions. e.g. community,Enterprise
|
||||
*/
|
||||
void setEditions(List<String> editions);
|
||||
}
|
||||
|
Reference in New Issue
Block a user