Class ImageInfo


  • public class ImageInfo
    extends java.lang.Object
    Image info class.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      long buildTs
      (V2) CLB build timestamp
      int clbBoard
      (V2) CLB board version, i.e.
      java.lang.String commit
      (V2) Commit information
      long fwRev
      Firmware revision, encoding either decimal or hex encoded date, not sure
      ImageType imgType
      Image type
      ImageInfoType infoType
      Image information type
      MacType macType
      (V2) MAC type
      short pos
      Position in flash (0..3), or -1 if loaded from file
      long swRev
      (V1) Software revision, encoding either decimal or hex encoded date, not sure
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageInfo​(ImageInfoType infoType, short pos, ImageType imgType, long fwRev, long swRev, java.lang.String commit, MacType macType, int clbBoard, long buildTs)  
    • Method Summary

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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • infoType

        public final ImageInfoType infoType
        Image information type
      • pos

        public final short pos
        Position in flash (0..3), or -1 if loaded from file
      • imgType

        public final ImageType imgType
        Image type
      • fwRev

        public final long fwRev
        Firmware revision, encoding either decimal or hex encoded date, not sure
      • swRev

        public final long swRev
        (V1) Software revision, encoding either decimal or hex encoded date, not sure
      • commit

        public final java.lang.String commit
        (V2) Commit information
      • macType

        public final MacType macType
        (V2) MAC type
      • clbBoard

        public final int clbBoard
        (V2) CLB board version, i.e. 2 = CLBv2
      • buildTs

        public final long buildTs
        (V2) CLB build timestamp
    • Constructor Detail

      • ImageInfo

        public ImageInfo​(ImageInfoType infoType,
                         short pos,
                         ImageType imgType,
                         long fwRev,
                         long swRev,
                         java.lang.String commit,
                         MacType macType,
                         int clbBoard,
                         long buildTs)
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object