- Enclosing interface:
- Version
public static interface Version.Builder
Builds a Version.
-
Method Details
-
major
- Parameters:
major
- the major version component- Returns:
- this builder instance
-
minor
- Parameters:
minor
- the minor version component- Returns:
- this builder instance
-
patch
- Parameters:
patch
- the patch version component- Returns:
- this builder instance
-
metadata
- Parameters:
metadata
- the metadata version component- Returns:
- this builder instance
-
build
- Parameters:
build
- the build information version component- Returns:
- this builder instance
-
build
Version build()- Returns:
- a new
Version
instance based on this builder
-