Class StableOsVersion


  • public class StableOsVersion
    extends java.lang.Object
    A stable OS version.
    Author:
    mpolden
    • Constructor Summary

      Constructors 
      Constructor Description
      StableOsVersion​(com.yahoo.component.Version version, java.time.Instant promotedAt)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      int hashCode()  
      java.time.Instant promotedAt()
      Returns the time this was promoted to stable
      java.lang.String toString()  
      com.yahoo.component.Version version()
      The version number
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • StableOsVersion

        public StableOsVersion​(com.yahoo.component.Version version,
                               java.time.Instant promotedAt)
    • Method Detail

      • version

        public com.yahoo.component.Version version()
        The version number
      • promotedAt

        public java.time.Instant promotedAt()
        Returns the time this was promoted to stable
      • toString

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object