Class ModuleDetailsImpl

    • Constructor Detail

      • ModuleDetailsImpl

        public ModuleDetailsImpl​(Properties properties)
        Creates the instance from a set of properties. All the property values are trimmed and empty string values are removed from the set. In other words, zero length or whitespace strings are not supported.
        Parameters:
        properties - the set of properties
      • ModuleDetailsImpl

        public ModuleDetailsImpl​(Properties properties,
                                 LogOutput log)
        Creates the instance from a set of properties. All the property values are trimmed and empty string values are removed from the set. In other words, zero length or whitespace strings are not supported.
        Parameters:
        properties - the set of properties
        log - logger
      • ModuleDetailsImpl

        public ModuleDetailsImpl​(String id,
                                 ModuleVersionNumber versionNumber,
                                 String title,
                                 String description)
        Parameters:
        id - module id
        versionNumber - version number
        title - title
        description - description
    • Method Detail

      • getProperties

        public Properties getProperties()
        Description copied from interface: ModuleDetails
        Get all defined properties.
        Specified by:
        getProperties in interface ModuleDetails
        Returns:
        Returns the properties defined by this set of details
      • getAliases

        public List<String> getAliases()
        Specified by:
        getAliases in interface ModuleDetails
        Returns:
        Returns a list of IDs by which this module may once have been known
      • getRepoVersionMin

        public org.alfresco.util.VersionNumber getRepoVersionMin()
        Specified by:
        getRepoVersionMin in interface ModuleDetails
        Returns:
        Returns the minimum version of the repository in which the module may be active
      • setRepoVersionMin

        public void setRepoVersionMin​(org.alfresco.util.VersionNumber repoVersionMin)
        Specified by:
        setRepoVersionMin in interface ModuleDetails
        Parameters:
        repoVersionMin - the minimum version of the repository in which the module may be acitve
      • getRepoVersionMax

        public org.alfresco.util.VersionNumber getRepoVersionMax()
        Specified by:
        getRepoVersionMax in interface ModuleDetails
        Returns:
        Returns the maximum version of the repository in which the module may be active
      • setRepoVersionMax

        public void setRepoVersionMax​(org.alfresco.util.VersionNumber repoVersionMax)
        Specified by:
        setRepoVersionMax in interface ModuleDetails
        Parameters:
        repoVersionMax - the maximum version of the repository in which the module may be acitve
      • getInstallDate

        public Date getInstallDate()
        Description copied from interface: ModuleDetails
        Get the modules install date
        Specified by:
        getInstallDate in interface ModuleDetails
        Returns:
        module install date or null if it has not been set
      • setInstallDate

        public void setInstallDate​(Date installDate)
        Description copied from interface: ModuleDetails
        Set the module installation date.
        Specified by:
        setInstallDate in interface ModuleDetails
        Parameters:
        installDate - the module install date
      • setEditions

        public void setEditions​(List<String> editions)
        Description copied from interface: ModuleDetails
        Sets the editions of Alfresco the module is valid for
        Specified by:
        setEditions in interface ModuleDetails
        Parameters:
        editions - comma seperated list of editions. e.g. community,Enterprise
      • getVersion

        public org.alfresco.util.VersionNumber getVersion()
        Description copied from interface: ModuleDetails
        Get the version number of the module
        Specified by:
        getVersion in interface ModuleDetails
        Returns:
        module version number