Class PolarisCliResponseVersion

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<PolarisCliResponseVersion>

    public class PolarisCliResponseVersion
    extends java.lang.Object
    implements java.lang.Comparable<PolarisCliResponseVersion>, java.io.Serializable
    An abstract representation of the Polaris CLI's cli-scan.json version number. Conventional version numbers, as well as current and past codenames are all valid and comparable.
    See Also:
    Serialized Form
    • Constructor Detail

      • PolarisCliResponseVersion

        public PolarisCliResponseVersion​(int major,
                                         int minor)
    • Method Detail

      • getMajor

        public int getMajor()
      • getMinor

        public int getMinor()
      • 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