Modifier and Type | Method and Description |
---|---|
Version |
build() |
Version.Builder |
clearMajor()
Clears the value of the 'major' field
|
Version.Builder |
clearMinor()
Clears the value of the 'minor' field
|
Version.Builder |
clearPatch()
Clears the value of the 'patch' field
|
Version.Builder |
clearRevision()
Clears the value of the 'revision' field
|
Integer |
getMajor()
Gets the value of the 'major' field
|
Integer |
getMinor()
Gets the value of the 'minor' field
|
Integer |
getPatch()
Gets the value of the 'patch' field
|
Integer |
getRevision()
Gets the value of the 'revision' field
|
boolean |
hasMajor()
Checks whether the 'major' field has been set
|
boolean |
hasMinor()
Checks whether the 'minor' field has been set
|
boolean |
hasPatch()
Checks whether the 'patch' field has been set
|
boolean |
hasRevision()
Checks whether the 'revision' field has been set
|
Version.Builder |
setMajor(int value)
Sets the value of the 'major' field
|
Version.Builder |
setMinor(int value)
Sets the value of the 'minor' field
|
Version.Builder |
setPatch(int value)
Sets the value of the 'patch' field
|
Version.Builder |
setRevision(int value)
Sets the value of the 'revision' field
|
public Integer getMajor()
public Version.Builder setMajor(int value)
public boolean hasMajor()
public Version.Builder clearMajor()
public Integer getMinor()
public Version.Builder setMinor(int value)
public boolean hasMinor()
public Version.Builder clearMinor()
public Integer getRevision()
public Version.Builder setRevision(int value)
public boolean hasRevision()
public Version.Builder clearRevision()
public Integer getPatch()
public Version.Builder setPatch(int value)
public boolean hasPatch()
public Version.Builder clearPatch()
Copyright © 2023 Petroware AS - https://petroware.no