Package com.rm5248.debianpbuilder
Class PackageVersionFormatter
- java.lang.Object
-
- com.rm5248.debianpbuilder.PackageVersionFormatter
-
public class PackageVersionFormatter extends Object
Formats the name of a package depending on user-supplied input.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
formatPackageVersion(String format, EnvVars envVars, int buildNumber)
Format the package version based on the format.
-
-
-
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 useenvVars
- The environment variables, used to get the SVN/GIT versionbuildNumber
- The number of the build
-
-