Record Class Helper.SystemSummary

java.lang.Object
java.lang.Record
eu.hansolo.toolbox.Helper.SystemSummary
Enclosing class:
Helper

public static record Helper.SystemSummary(Constants.Architecture architecture, int logicalCores, int physicalCores, Helper.MemInfo memInfo, Helper.HeapInfo heapInfo, List<Helper.RootInfo> rootInfos, Constants.OperatingSystem operatingSystem, Helper.OperatingSystemInfo operatingSystemInfo, Constants.OperatingMode operatingMode, Helper.JvmInfo jvmInfo) extends Record
  • Constructor Details

    • SystemSummary

      public SystemSummary(Constants.Architecture architecture, int logicalCores, int physicalCores, Helper.MemInfo memInfo, Helper.HeapInfo heapInfo, List<Helper.RootInfo> rootInfos, Constants.OperatingSystem operatingSystem, Helper.OperatingSystemInfo operatingSystemInfo, Constants.OperatingMode operatingMode, Helper.JvmInfo jvmInfo)
      Creates an instance of a SystemSummary record class.
      Parameters:
      architecture - the value for the architecture record component
      logicalCores - the value for the logicalCores record component
      physicalCores - the value for the physicalCores record component
      memInfo - the value for the memInfo record component
      heapInfo - the value for the heapInfo record component
      rootInfos - the value for the rootInfos record component
      operatingSystem - the value for the operatingSystem record component
      operatingSystemInfo - the value for the operatingSystemInfo record component
      operatingMode - the value for the operatingMode record component
      jvmInfo - the value for the jvmInfo record component
  • Method Details

    • toBeautifiedString

      public String toBeautifiedString()
    • toString

      public String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • architecture

      public Constants.Architecture architecture()
      Returns the value of the architecture record component.
      Returns:
      the value of the architecture record component
    • logicalCores

      public int logicalCores()
      Returns the value of the logicalCores record component.
      Returns:
      the value of the logicalCores record component
    • physicalCores

      public int physicalCores()
      Returns the value of the physicalCores record component.
      Returns:
      the value of the physicalCores record component
    • memInfo

      public Helper.MemInfo memInfo()
      Returns the value of the memInfo record component.
      Returns:
      the value of the memInfo record component
    • heapInfo

      public Helper.HeapInfo heapInfo()
      Returns the value of the heapInfo record component.
      Returns:
      the value of the heapInfo record component
    • rootInfos

      public List<Helper.RootInfo> rootInfos()
      Returns the value of the rootInfos record component.
      Returns:
      the value of the rootInfos record component
    • operatingSystem

      public Constants.OperatingSystem operatingSystem()
      Returns the value of the operatingSystem record component.
      Returns:
      the value of the operatingSystem record component
    • operatingSystemInfo

      public Helper.OperatingSystemInfo operatingSystemInfo()
      Returns the value of the operatingSystemInfo record component.
      Returns:
      the value of the operatingSystemInfo record component
    • operatingMode

      public Constants.OperatingMode operatingMode()
      Returns the value of the operatingMode record component.
      Returns:
      the value of the operatingMode record component
    • jvmInfo

      public Helper.JvmInfo jvmInfo()
      Returns the value of the jvmInfo record component.
      Returns:
      the value of the jvmInfo record component