Class VersionInfo
java.lang.Object
org.snmp4j.agent.db.version.VersionInfo
The
VersionInfo object returns information about the version
of this SNMP4J-AgentX release.- Version:
- 3.0
- Author:
- Frank Fock
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe minimum required major version of the SNMP4J-Agent dependency.static final intThe minimum required minor version of the SNMP4J-Agent dependency.static final StringThe minimum required patch suffix of the SNMP4J-Agent dependency.static final intThe minimum required update version of the SNMP4J-Agent dependency.static final intThe minimum required major version of the SNMP4J dependency.static final intThe minimum required minor version of the SNMP4J dependency.static final StringThe minimum required patch suffix of the SNMP4J dependency.static final intThe minimum required update version of the SNMP4J dependency.static final intThe major version number of this SNMP4J-Agent-DB release.static final intThe minor version number of this SNMP4J-Agent-DB release.static final StringThe optional patch suffix of this SNMP4J-Agent-DB release.static final intThe update (micro) version number of this SNMP4J-Agent-DB release.static final StringThe full version string of this SNMP4J-Agent-DB release. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks whether all dependencies have the minimum required version.static StringGets the version string for this release.
-
Field Details
-
MAJOR
public static final int MAJORThe major version number of this SNMP4J-Agent-DB release.- See Also:
-
MINOR
public static final int MINORThe minor version number of this SNMP4J-Agent-DB release.- See Also:
-
UPDATE
public static final int UPDATEThe update (micro) version number of this SNMP4J-Agent-DB release.- See Also:
-
PATCH
The optional patch suffix of this SNMP4J-Agent-DB release.- See Also:
-
VERSION
The full version string of this SNMP4J-Agent-DB release.- See Also:
-
DEPENDENCY_SNMP4J_MAJOR
public static final int DEPENDENCY_SNMP4J_MAJORThe minimum required major version of the SNMP4J dependency.- See Also:
-
DEPENDENCY_SNMP4J_MINOR
public static final int DEPENDENCY_SNMP4J_MINORThe minimum required minor version of the SNMP4J dependency.- See Also:
-
DEPENDENCY_SNMP4J_UPDATE
public static final int DEPENDENCY_SNMP4J_UPDATEThe minimum required update version of the SNMP4J dependency.- See Also:
-
DEPENDENCY_SNMP4J_PATCH
The minimum required patch suffix of the SNMP4J dependency.- See Also:
-
DEPENDENCY_SNMP4J_AGENT_MAJOR
public static final int DEPENDENCY_SNMP4J_AGENT_MAJORThe minimum required major version of the SNMP4J-Agent dependency.- See Also:
-
DEPENDENCY_SNMP4J_AGENT_MINOR
public static final int DEPENDENCY_SNMP4J_AGENT_MINORThe minimum required minor version of the SNMP4J-Agent dependency.- See Also:
-
DEPENDENCY_SNMP4J_AGENT_UPDATE
public static final int DEPENDENCY_SNMP4J_AGENT_UPDATEThe minimum required update version of the SNMP4J-Agent dependency.- See Also:
-
DEPENDENCY_SNMP4J_AGENT_PATCH
The minimum required patch suffix of the SNMP4J-Agent dependency.- See Also:
-
-
Method Details
-
getVersion
Gets the version string for this release.- Returns:
- a string of the form
major.minor.update[patch].
-
checkMinVersionOfDependencies
public static boolean checkMinVersionOfDependencies()Checks whether all dependencies have the minimum required version.- Returns:
trueif the dependencies have the minimum required version(s).
-