net.rubygrapefruit.platform.internal
Class MutableSystemInfo

java.lang.Object
  extended by net.rubygrapefruit.platform.internal.MutableSystemInfo
All Implemented Interfaces:
NativeIntegration, SystemInfo

public class MutableSystemInfo
extends java.lang.Object
implements SystemInfo


Field Summary
 java.lang.String machineArchitecture
           
 java.lang.String osName
           
 java.lang.String osVersion
           
 
Constructor Summary
MutableSystemInfo()
           
 
Method Summary
 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.
 java.lang.String getMachineArchitecture()
          Returns the machine architecture, as reported by the operating system.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

osName

public java.lang.String osName

osVersion

public java.lang.String osVersion

machineArchitecture

public java.lang.String machineArchitecture
Constructor Detail

MutableSystemInfo

public MutableSystemInfo()
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 interface SystemInfo

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 interface SystemInfo

getMachineArchitecture

public java.lang.String getMachineArchitecture()
Description copied from interface: SystemInfo
Returns the machine architecture, as reported by the operating system.

Specified by:
getMachineArchitecture in interface SystemInfo