Class DefaultSystemInfo

java.lang.Object
net.rubygrapefruit.platform.internal.DefaultSystemInfo
All Implemented Interfaces:
NativeIntegration, SystemInfo

public class DefaultSystemInfo extends Object implements SystemInfo
  • Constructor Details

    • DefaultSystemInfo

      public DefaultSystemInfo()
  • Method Details

    • getKernelName

      public 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 String getKernelVersion()
      Description copied from interface: SystemInfo
      Returns the version of the kernel for the current operating system.
      Specified by:
      getKernelVersion in interface SystemInfo
    • getArchitectureName

      public String getArchitectureName()
      Description copied from interface: SystemInfo
      Returns the machine architecture name, as reported by the operating system.
      Specified by:
      getArchitectureName in interface SystemInfo
    • getArchitecture

      public SystemInfo.Architecture getArchitecture()
      Description copied from interface: SystemInfo
      Returns the machine architecture, as reported by the operating system.
      Specified by:
      getArchitecture in interface SystemInfo
    • getHostname

      public String getHostname()
      Description copied from interface: SystemInfo
      Returns the machine hostname, as reported by the operating system.
      Specified by:
      getHostname in interface SystemInfo