Class PolarisCliResponseVersion

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

    public class PolarisCliResponseVersion
    extends java.lang.Object
    implements java.lang.Comparable<PolarisCliResponseVersion>,
    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()
        toString in class java.lang.Object
      • equals

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

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