Uses of Class
com.github.zafarkhaja.semver.Version.Builder
Packages that use Version.Builder
Package
Description
This is the root package of the Java SemVer library.
-
Uses of Version.Builder in com.github.zafarkhaja.semver
Methods in com.github.zafarkhaja.semver that return Version.BuilderModifier and TypeMethodDescriptionVersion.Builder.addBuildIdentifiers
(String... ids) Appends (additional) build identifier(s).Version.Builder.addPreReleaseIdentifiers
(String... ids) Appends (additional) pre-release identifier(s).Version.Builder.setBuildMetadata
(String... ids) Sets the build metadata.Version.Builder.setMajorVersion
(long major) Sets the major version.Version.Builder.setMinorVersion
(long minor) Sets the minor version.Version.Builder.setNormalVersion
(String normal) Deprecated.forRemoval since 0.10.0Version.Builder.setPatchVersion
(long patch) Sets the patch version.Version.Builder.setPreReleaseVersion
(String... ids) Sets the pre-release version.Version.Builder.setVersionCore
(long major) Sets the major version; the minor and patch versions are assigned 0.Version.Builder.setVersionCore
(long major, long minor) Sets the major and minor versions; the patch version is assigned 0.Version.Builder.setVersionCore
(long major, long minor, long patch) Sets major, minor and patch versions.Version.toBuilder()
Converts thisVersion
toBuilder
.Version.Builder.unsetBuildMetadata()
Unsets the build metadata.Version.Builder.unsetPreReleaseVersion()
Unsets the pre-release version.