Class MutableSystemInfo
java.lang.Object
net.rubygrapefruit.platform.internal.MutableSystemInfo
- All Implemented Interfaces:
NativeIntegration
,SystemInfo
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.rubygrapefruit.platform.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:SystemInfo
Returns the name of the kernel for the current operating system.- Specified by:
getKernelName
in interfaceSystemInfo
-
getKernelVersion
Description copied from interface:SystemInfo
Returns the version of the kernel for the current operating system.- Specified by:
getKernelVersion
in interfaceSystemInfo
-
getArchitectureName
Description copied from interface:SystemInfo
Returns the machine architecture name, as reported by the operating system.- Specified by:
getArchitectureName
in interfaceSystemInfo
-
getArchitecture
Description copied from interface:SystemInfo
Returns the machine architecture, as reported by the operating system.- Specified by:
getArchitecture
in interfaceSystemInfo
-