Class VersionBean

  • All Implemented Interfaces:
    Comparable<org.opennms.integration.api.v1.runtime.Version>, org.opennms.integration.api.v1.runtime.Version

    public class VersionBean
    extends Object
    implements org.opennms.integration.api.v1.runtime.Version
    • Constructor Detail

      • VersionBean

        public VersionBean​(String version)
    • Method Detail

      • getMajor

        public int getMajor()
        Specified by:
        getMajor in interface org.opennms.integration.api.v1.runtime.Version
      • getMinor

        public int getMinor()
        Specified by:
        getMinor in interface org.opennms.integration.api.v1.runtime.Version
      • getPatch

        public int getPatch()
        Specified by:
        getPatch in interface org.opennms.integration.api.v1.runtime.Version
      • isSnapshot

        public boolean isSnapshot()
        Specified by:
        isSnapshot in interface org.opennms.integration.api.v1.runtime.Version
      • compareTo

        public int compareTo​(org.opennms.integration.api.v1.runtime.Version v)
        Specified by:
        compareTo in interface Comparable<org.opennms.integration.api.v1.runtime.Version>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object