Package oshi.software.os
Interface OperatingSystemVersion
-
- All Superinterfaces:
java.io.Serializable
- All Known Implementing Classes:
AbstractOSVersionInfoEx
,FreeBsdOSVersionInfoEx
,LinuxOSVersionInfoEx
,MacOSVersionInfoEx
,SolarisOSVersionInfoEx
,WindowsOSVersionInfoEx
public interface OperatingSystemVersion extends java.io.Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getBuildNumber()
java.lang.String
getCodeName()
java.lang.String
getVersion()
void
setBuildNumber(java.lang.String buildNumber)
void
setCodeName(java.lang.String codeName)
void
setVersion(java.lang.String version)
-
-
-
Method Detail
-
getVersion
java.lang.String getVersion()
- Returns:
- the version
-
setVersion
void setVersion(java.lang.String version)
- Parameters:
version
- the version to set
-
getCodeName
java.lang.String getCodeName()
- Returns:
- the codeName
-
setCodeName
void setCodeName(java.lang.String codeName)
- Parameters:
codeName
- the codeName to set
-
getBuildNumber
java.lang.String getBuildNumber()
- Returns:
- the build number
-
setBuildNumber
void setBuildNumber(java.lang.String buildNumber)
- Parameters:
buildNumber
- the build number to set
-
-