Class DefaultVersionsHandler

    • Method Detail

      • getAdditionalVersions

        protected Collection<VersiongetAdditionalVersions()
        Returns any additional versions informations displayable in the administrator area.
        Note: This implementation returns null.
        Returns:
        any additional versions informations displayable in the administrator area.
      • _getVersionFromClasspath

        protected final Version _getVersionFromClasspath​(String path,
                                                         String versionName)
        Helper for getting Version from an XML file in the classpath.
        The file must be formed like this :
        <version>
            <version>Version name</version>
            <date>Version date in format "yyyyMMdd'T'HHmmz"</date>
        </version>
        Parameters:
        path - a path in the classpath poiting to an XML file
        versionName - the name of the Version to create
        Returns:
        the created Version