org.springframework.boot.info

Class OsInfo

  • java.lang.Object
    • org.springframework.boot.info.OsInfo


  • public class OsInfo
    extends java.lang.Object
    Information about the Operating System the application is running on.
    Since:
    2.7.0
    • Constructor Summary

      Constructors 
      Constructor and Description
      OsInfo() 
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getArch() 
      java.lang.String getName() 
      java.lang.String getVersion() 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OsInfo

        public OsInfo()
    • Method Detail

      • getName

        public java.lang.String getName()
      • getVersion

        public java.lang.String getVersion()
      • getArch

        public java.lang.String getArch()