Package org.snmp4j.agent.agentx.version
Class VersionInfo
java.lang.Object
org.snmp4j.agent.agentx.version.VersionInfo
The
VersionInfo object returns information about the version
of this SNMP4J-AgentX release.- Since:
- 1.1
- Version:
- 1.1
- Author:
- Frank Fock
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe minimum required major version of the SNMP4J-Agent-DB dependency.static final intThe minimum required minor version of the SNMP4J-Agent-DB dependency.static final StringThe minimum required patch qualifier of the SNMP4J-Agent-DB dependency.static final intThe minimum required update version of the SNMP4J-Agent-DB dependency.static 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 qualifier 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 qualifier of the SNMP4J dependency.static final intThe minimum required update version of the SNMP4J dependency.static final intThe major version number of this SNMP4J-AgentX release.static final intThe minor version number of this SNMP4J-AgentX release.static final StringAn optional patch qualifier appended to the version string (empty if none).static final intThe update (patch level) version number of this SNMP4J-AgentX release.static final StringThe full version string of this SNMP4J-AgentX release in the formmajor.minor.update[patch]. -
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks whether SNMP4J has 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-AgentX release.- See Also:
-
MINOR
public static final int MINORThe minor version number of this SNMP4J-AgentX release.- See Also:
-
UPDATE
public static final int UPDATEThe update (patch level) version number of this SNMP4J-AgentX release.- See Also:
-
PATCH
An optional patch qualifier appended to the version string (empty if none).- See Also:
-
VERSION
The full version string of this SNMP4J-AgentX release in the formmajor.minor.update[patch].- 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 qualifier 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 qualifier of the SNMP4J-Agent dependency.- See Also:
-
DEPENDENCY_SNMP4J_AGENT_DB_MAJOR
public static final int DEPENDENCY_SNMP4J_AGENT_DB_MAJORThe minimum required major version of the SNMP4J-Agent-DB dependency.- See Also:
-
DEPENDENCY_SNMP4J_AGENT_DB_MINOR
public static final int DEPENDENCY_SNMP4J_AGENT_DB_MINORThe minimum required minor version of the SNMP4J-Agent-DB dependency.- See Also:
-
DEPENDENCY_SNMP4J_AGENT_DB_UPDATE
public static final int DEPENDENCY_SNMP4J_AGENT_DB_UPDATEThe minimum required update version of the SNMP4J-Agent-DB dependency.- See Also:
-
DEPENDENCY_SNMP4J_AGENT_DB_PATCH
The minimum required patch qualifier of the SNMP4J-Agent-DB 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 SNMP4J has the minimum required version.- Returns:
trueif the dependencies have the minimum required version(s).
-