Package org.alfresco.service.cmr.module
Interface ModuleDetails
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ModuleDetailsImpl
Module details, contains the details of an installed alfresco module.
- Since:
- 2.0
- Author:
- Roy Wetherall
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the description of the modulegetId()Get the id of the moduleGet the modules install dateGet the modules install stateGet the version number of the moduleGet all defined properties.getTitle()Get the title of the moduleDeprecated.use getModuleVersionNumber which knows about maven style version numbersvoidsetEditions(List<String> editions) Sets the editions of Alfresco the module is valid forvoidsetInstallDate(Date installDate) Set the module installation date.voidsetInstallState(ModuleInstallState installState) Set the module install state.voidsetRepoVersionMax(VersionNumber repoVersionMax) voidsetRepoVersionMin(VersionNumber repoVersionMin)
-
Field Details
-
PROP_ID
- See Also:
-
PROP_ALIASES
- See Also:
-
PROP_VERSION
- See Also:
-
PROP_TITLE
- See Also:
-
PROP_DESCRIPTION
- See Also:
-
PROP_EDITIONS
- See Also:
-
PROP_REPO_VERSION_MIN
- See Also:
-
PROP_REPO_VERSION_MAX
- See Also:
-
PROP_DEPENDS_PREFIX
- See Also:
-
PROP_INSTALL_DATE
- See Also:
-
PROP_INSTALL_STATE
- See Also:
-
INVALID_ID_REGEX
- See Also:
-
-
Method Details
-
getProperties
Properties getProperties()Get all defined properties.- Returns:
- Returns the properties defined by this set of details
-
getId
String getId()Get the id of the module- Returns:
- module id
-
getAliases
- Returns:
- Returns a list of IDs by which this module may once have been known
-
getModuleVersionNumber
ModuleVersionNumber getModuleVersionNumber()Get the version number of the module- Returns:
- module version number
-
getVersion
VersionNumber getVersion()Deprecated.use getModuleVersionNumber which knows about maven style version numbersGet the version number of the module- Returns:
- module version number
-
getTitle
String getTitle()Get the title of the module- Returns:
- module title
-
getDescription
String getDescription()Get the description of the module- Returns:
- module description
-
getRepoVersionMin
VersionNumber getRepoVersionMin()- Returns:
- Returns the minimum version of the repository in which the module may be active
-
setRepoVersionMin
- Parameters:
repoVersionMin- the minimum version of the repository in which the module may be acitve
-
getRepoVersionMax
VersionNumber getRepoVersionMax()- Returns:
- Returns the maximum version of the repository in which the module may be active
-
setRepoVersionMax
- Parameters:
repoVersionMax- the maximum version of the repository in which the module may be acitve
-
getDependencies
List<ModuleDependency> getDependencies()- Returns:
- Returns a list of module dependencies that must be present for this module
-
getInstallDate
Date getInstallDate()Get the modules install date- Returns:
- module install date or null if it has not been set
-
setInstallDate
Set the module installation date.- Parameters:
installDate- the module install date
-
getInstallState
ModuleInstallState getInstallState()Get the modules install state- Returns:
- the modules install state
-
setInstallState
Set the module install state.- Parameters:
installState- the module install state
-
getEditions
- Returns:
- the editions
-
setEditions
Sets the editions of Alfresco the module is valid for- Parameters:
editions- comma seperated list of editions. e.g. community,Enterprise
-