Class MutableSystemInfo
java.lang.Object
net.rubygrapefruit.platform.internal.MutableSystemInfo
- All Implemented Interfaces:
NativeIntegration, SystemInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface SystemInfo
SystemInfo.Architecture -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the machine architecture, as reported by the operating system.Returns the machine architecture name, as reported by the operating system.Returns the name of the kernel for the current operating system.Returns the version of the kernel for the current operating system.
-
Field Details
-
osName
-
osVersion
-
machineArchitecture
-
-
Constructor Details
-
MutableSystemInfo
public MutableSystemInfo()
-
-
Method Details
-
getKernelName
Description copied from interface:SystemInfoReturns the name of the kernel for the current operating system.- Specified by:
getKernelNamein interfaceSystemInfo
-
getKernelVersion
Description copied from interface:SystemInfoReturns the version of the kernel for the current operating system.- Specified by:
getKernelVersionin interfaceSystemInfo
-
getArchitectureName
Description copied from interface:SystemInfoReturns the machine architecture name, as reported by the operating system.- Specified by:
getArchitectureNamein interfaceSystemInfo
-
getArchitecture
Description copied from interface:SystemInfoReturns the machine architecture, as reported by the operating system.- Specified by:
getArchitecturein interfaceSystemInfo
-