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()
ModuleDetails
getProperties
in interface ModuleDetails
public String getId()
ModuleDetails
getId
in interface ModuleDetails
public List<String> getAliases()
getAliases
in interface ModuleDetails
public ModuleVersionNumber getModuleVersionNumber()
ModuleDetails
getModuleVersionNumber
in interface ModuleDetails
public String getTitle()
ModuleDetails
getTitle
in interface ModuleDetails
public String getDescription()
ModuleDetails
getDescription
in interface ModuleDetails
public org.alfresco.util.VersionNumber getRepoVersionMin()
getRepoVersionMin
in interface ModuleDetails
public void setRepoVersionMin(org.alfresco.util.VersionNumber repoVersionMin)
setRepoVersionMin
in interface ModuleDetails
repoVersionMin
- the minimum version of the repository in which the module may be acitvepublic org.alfresco.util.VersionNumber getRepoVersionMax()
getRepoVersionMax
in interface ModuleDetails
public void setRepoVersionMax(org.alfresco.util.VersionNumber repoVersionMax)
setRepoVersionMax
in interface ModuleDetails
repoVersionMax
- the maximum version of the repository in which the module may be acitvepublic List<ModuleDependency> getDependencies()
getDependencies
in interface ModuleDetails
public Date getInstallDate()
ModuleDetails
getInstallDate
in interface ModuleDetails
public void setInstallDate(Date installDate)
ModuleDetails
setInstallDate
in interface ModuleDetails
installDate
- the module install datepublic ModuleInstallState getInstallState()
ModuleDetails
getInstallState
in interface ModuleDetails
public void setInstallState(ModuleInstallState installState)
ModuleDetails
setInstallState
in interface ModuleDetails
installState
- the module install statepublic List<String> getEditions()
getEditions
in interface ModuleDetails
public void setEditions(List<String> editions)
ModuleDetails
setEditions
in interface ModuleDetails
editions
- comma seperated list of editions. e.g. community,Enterprisepublic org.alfresco.util.VersionNumber getVersion()
ModuleDetails
getVersion
in interface ModuleDetails
Copyright © 2005–2017 Alfresco Software. All rights reserved.