public final class RepositoryVersionHelper extends Object
Modifier and Type | Method and Description |
---|---|
static Integer |
getVersion(String productVersion,
int level)
Internal methods to have the specific number version (major, minor,
maintenance)
|
static String |
getVersionString(String productVersion,
int level)
Internal methods to have the specific number version (major, minor,
maintenance)
|
static boolean |
isAlfrescoProduct(AlfrescoSession repoSession) |
public static String getVersionString(String productVersion, int level)
level
- : Major : 0, Minor : 1, Maintenance : 2, Build number : 3public static Integer getVersion(String productVersion, int level)
productVersion
- : Product version of the repository.level
- : Major : 0, Minor : 1, Maintenance : 2, Build number : 3public static boolean isAlfrescoProduct(AlfrescoSession repoSession)
repoSession
- : Session associated to the repository.Copyright © 2012-2018 Alfresco Software. All Rights Reserved.