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.Versionpublic int getMinor()
getMinor in interface org.opennms.integration.api.v1.runtime.Versionpublic int getPatch()
getPatch in interface org.opennms.integration.api.v1.runtime.Versionpublic boolean isSnapshot()
isSnapshot in interface org.opennms.integration.api.v1.runtime.Versionpublic int compareTo(org.opennms.integration.api.v1.runtime.Version v)
compareTo in interface Comparable<org.opennms.integration.api.v1.runtime.Version>Copyright © 2022. All rights reserved.