Class CChangelogFilters


  • public final class CChangelogFilters
    extends Object
    Functions to transform and filter changelogs.
    • Method Detail

      • upToAndIncluding

        public static Optional<CChangelog> upToAndIncluding​(CChangelog changelog,
                                                            CVersionType version,
                                                            int count)
        Parameters:
        changelog - The current changelog
        version - The release version
        count - The maximum number of releases to display
        Returns:
        A version of changelog featuring at most count releases up to and including version, or nothing if the changelog does not contain version