Class MutableSystemInfo
- java.lang.Object
-
- net.rubygrapefruit.platform.internal.MutableSystemInfo
-
- All Implemented Interfaces:
NativeIntegration,SystemInfo
public class MutableSystemInfo extends Object implements SystemInfo
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface net.rubygrapefruit.platform.SystemInfo
SystemInfo.Architecture
-
-
Constructor Summary
Constructors Constructor Description MutableSystemInfo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SystemInfo.ArchitecturegetArchitecture()Returns the machine architecture, as reported by the operating system.StringgetArchitectureName()Returns the machine architecture name, as reported by the operating system.StringgetKernelName()Returns the name of the kernel for the current operating system.StringgetKernelVersion()Returns the version of the kernel for the current operating system.
-
-
-
Method Detail
-
getKernelName
public String getKernelName()
Description copied from interface:SystemInfoReturns the name of the kernel for the current operating system.- Specified by:
getKernelNamein interfaceSystemInfo
-
getKernelVersion
public String getKernelVersion()
Description copied from interface:SystemInfoReturns the version of the kernel for the current operating system.- Specified by:
getKernelVersionin interfaceSystemInfo
-
getArchitectureName
public String getArchitectureName()
Description copied from interface:SystemInfoReturns the machine architecture name, as reported by the operating system.- Specified by:
getArchitectureNamein interfaceSystemInfo
-
getArchitecture
public SystemInfo.Architecture getArchitecture()
Description copied from interface:SystemInfoReturns the machine architecture, as reported by the operating system.- Specified by:
getArchitecturein interfaceSystemInfo
-
-