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