Interface Version.Builder

Enclosing interface:
Version

public static interface Version.Builder
Builds a Version.
  • Method Details

    • major

      Version.Builder major(int major)
      Parameters:
      major - the major version component
      Returns:
      this builder instance
    • minor

      Version.Builder minor(int minor)
      Parameters:
      minor - the minor version component
      Returns:
      this builder instance
    • patch

      Version.Builder patch(int patch)
      Parameters:
      patch - the patch version component
      Returns:
      this builder instance
    • metadata

      Version.Builder metadata(String metadata)
      Parameters:
      metadata - the metadata version component
      Returns:
      this builder instance
    • build

      Version.Builder build(String build)
      Parameters:
      build - the build information version component
      Returns:
      this builder instance
    • build

      Version build()
      Returns:
      a new Version instance based on this builder