public class ModuleDetailsImpl extends java.lang.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(java.util.Properties properties)
Creates the instance from a set of properties.
|
ModuleDetailsImpl(java.lang.String id,
org.alfresco.util.VersionNumber versionNumber,
java.lang.String title,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
java.util.List |
getAliases() |
java.util.List |
getDependencies() |
java.lang.String |
getDescription()
Get the description of the module
|
java.util.List |
getEditions() |
java.lang.String |
getId()
Get the id of the module
|
java.util.Date |
getInstallDate()
Get the modules install date
|
ModuleInstallState |
getInstallState()
Get the modules install state
|
java.util.Properties |
getProperties()
Get all defined properties.
|
org.alfresco.util.VersionNumber |
getRepoVersionMax() |
org.alfresco.util.VersionNumber |
getRepoVersionMin() |
java.lang.String |
getTitle()
Get the title of the module
|
org.alfresco.util.VersionNumber |
getVersion()
Get the version number of the module
|
void |
setEditions(java.util.List editions)
Sets the editions of Alfresco the module is valid for
|
void |
setInstallDate(java.util.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) |
java.lang.String |
toString() |
public ModuleDetailsImpl(java.util.Properties properties)
properties - the set of propertiespublic ModuleDetailsImpl(java.lang.String id,
org.alfresco.util.VersionNumber versionNumber,
java.lang.String title,
java.lang.String description)
id - module idversionNumber - version numbertitle - titledescription - descriptionpublic java.util.Properties getProperties()
ModuleDetailsgetProperties in interface ModuleDetailspublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getId()
ModuleDetailsgetId in interface ModuleDetailspublic java.util.List getAliases()
getAliases in interface ModuleDetailspublic org.alfresco.util.VersionNumber getVersion()
ModuleDetailsgetVersion in interface ModuleDetailspublic java.lang.String getTitle()
ModuleDetailsgetTitle in interface ModuleDetailspublic java.lang.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 java.util.List getDependencies()
getDependencies in interface ModuleDetailspublic java.util.Date getInstallDate()
ModuleDetailsgetInstallDate in interface ModuleDetailspublic void setInstallDate(java.util.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 java.util.List getEditions()
getEditions in interface ModuleDetailspublic void setEditions(java.util.List editions)
ModuleDetailssetEditions in interface ModuleDetailsCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.