public class ModuleDetailsImpl extends Object implements ModuleDetails
| Modifier and Type | Class and Description |
|---|---|
static class |
ModuleDetailsImpl.ModuleDependencyImpl |
INVALID_ID_REGEX, PROP_ALIASES, PROP_DEPENDS_PREFIX, PROP_DESCRIPTION, PROP_EDITIONS, PROP_ID, PROP_INSTALL_DATE, PROP_INSTALL_STATE, PROP_REPO_VERSION_MAX, PROP_REPO_VERSION_MIN, PROP_TITLE, PROP_VERSION| Constructor and Description |
|---|
ModuleDetailsImpl(Properties properties)
Creates the instance from a set of properties.
|
ModuleDetailsImpl(Properties properties,
LogOutput log)
Creates the instance from a set of properties.
|
ModuleDetailsImpl(String id,
ModuleVersionNumber versionNumber,
String title,
String description) |
| Modifier and Type | Method and Description |
|---|---|
List<String> |
getAliases() |
List<ModuleDependency> |
getDependencies() |
String |
getDescription()
Get the description of the module
|
List<String> |
getEditions() |
String |
getId()
Get the id of the module
|
Date |
getInstallDate()
Get the modules install date
|
ModuleInstallState |
getInstallState()
Get the modules install state
|
ModuleVersionNumber |
getModuleVersionNumber()
Get the version number of the module
|
Properties |
getProperties()
Get all defined properties.
|
org.alfresco.util.VersionNumber |
getRepoVersionMax() |
org.alfresco.util.VersionNumber |
getRepoVersionMin() |
String |
getTitle()
Get the title of the module
|
org.alfresco.util.VersionNumber |
getVersion()
Get the version number of the module
|
void |
setEditions(List<String> editions)
Sets the editions of Alfresco the module is valid for
|
void |
setInstallDate(Date installDate)
Set the module installation date.
|
void |
setInstallState(ModuleInstallState installState)
Set the module install state.
|
void |
setRepoVersionMax(org.alfresco.util.VersionNumber repoVersionMax) |
void |
setRepoVersionMin(org.alfresco.util.VersionNumber repoVersionMin) |
String |
toString() |
public ModuleDetailsImpl(Properties properties)
properties - the set of propertiespublic ModuleDetailsImpl(Properties properties, LogOutput log)
properties - the set of propertieslog - loggerpublic ModuleDetailsImpl(String id, ModuleVersionNumber versionNumber, String title, String description)
id - module idversionNumber - version numbertitle - titledescription - descriptionpublic Properties getProperties()
ModuleDetailsgetProperties in interface ModuleDetailspublic String getId()
ModuleDetailsgetId in interface ModuleDetailspublic List<String> getAliases()
getAliases in interface ModuleDetailspublic ModuleVersionNumber getModuleVersionNumber()
ModuleDetailsgetModuleVersionNumber in interface ModuleDetailspublic String getTitle()
ModuleDetailsgetTitle in interface ModuleDetailspublic String getDescription()
ModuleDetailsgetDescription in interface ModuleDetailspublic org.alfresco.util.VersionNumber getRepoVersionMin()
getRepoVersionMin in interface ModuleDetailspublic void setRepoVersionMin(org.alfresco.util.VersionNumber repoVersionMin)
setRepoVersionMin in interface ModuleDetailsrepoVersionMin - the minimum version of the repository in which the module may be acitvepublic org.alfresco.util.VersionNumber getRepoVersionMax()
getRepoVersionMax in interface ModuleDetailspublic void setRepoVersionMax(org.alfresco.util.VersionNumber repoVersionMax)
setRepoVersionMax in interface ModuleDetailsrepoVersionMax - the maximum version of the repository in which the module may be acitvepublic List<ModuleDependency> getDependencies()
getDependencies in interface ModuleDetailspublic Date getInstallDate()
ModuleDetailsgetInstallDate in interface ModuleDetailspublic void setInstallDate(Date installDate)
ModuleDetailssetInstallDate in interface ModuleDetailsinstallDate - the module install datepublic ModuleInstallState getInstallState()
ModuleDetailsgetInstallState in interface ModuleDetailspublic void setInstallState(ModuleInstallState installState)
ModuleDetailssetInstallState in interface ModuleDetailsinstallState - the module install statepublic List<String> getEditions()
getEditions in interface ModuleDetailspublic void setEditions(List<String> editions)
ModuleDetailssetEditions in interface ModuleDetailseditions - comma seperated list of editions. e.g. community,Enterprisepublic org.alfresco.util.VersionNumber getVersion()
ModuleDetailsgetVersion in interface ModuleDetailsCopyright © 2005–2018 Alfresco Software. All rights reserved.