Class PackageVersionFormatter


  • public class PackageVersionFormatter
    extends Object
    Formats the name of a package depending on user-supplied input.
    • Method Detail

      • formatPackageVersion

        public static String formatPackageVersion​(String format,
                                                  EnvVars envVars,
                                                  int buildNumber)
        Format the package version based on the format.
        Parameters:
        format - The format to use
        envVars - The environment variables, used to get the SVN/GIT version
        buildNumber - The number of the build