public class VersionBean extends Object implements org.opennms.integration.api.v1.runtime.Version
Constructor and Description |
---|
VersionBean(String version) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(org.opennms.integration.api.v1.runtime.Version v) |
boolean |
equals(Object o) |
int |
getMajor() |
int |
getMinor() |
int |
getPatch() |
int |
hashCode() |
boolean |
isSnapshot() |
String |
toString() |
public VersionBean(String version)
public int getMajor()
getMajor
in interface org.opennms.integration.api.v1.runtime.Version
public int getMinor()
getMinor
in interface org.opennms.integration.api.v1.runtime.Version
public int getPatch()
getPatch
in interface org.opennms.integration.api.v1.runtime.Version
public boolean isSnapshot()
isSnapshot
in interface org.opennms.integration.api.v1.runtime.Version
public int compareTo(org.opennms.integration.api.v1.runtime.Version v)
compareTo
in interface Comparable<org.opennms.integration.api.v1.runtime.Version>
Copyright © 2021. All rights reserved.