Class VersionGenerator


  • public class VersionGenerator
    extends java.lang.Object
    Version generator. TODO: To set VersionGenerationStrategy from application properties, if any.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String generateNextVersion​(VersionEntity latestVersion)
      Generate the next version relative to the given latest version.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VersionGenerator

        public VersionGenerator()
    • Method Detail

      • generateNextVersion

        public java.lang.String generateNextVersion​(VersionEntity latestVersion)
        Generate the next version relative to the given latest version.
        Parameters:
        latestVersion - the latest version
        Returns:
        the next version