Package org.snmp4j.agent.db.version
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
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
Checks whether all dependencies have the minimum required version.static String
Gets the version string for this release.
-
Field Details
-
MAJOR
public static final int MAJOR- See Also:
-
MINOR
public static final int MINOR- See Also:
-
UPDATE
public static final int UPDATE- See Also:
-
PATCH
- See Also:
-
VERSION
- See Also:
-
DEPENDENCY_SNMP4J_MAJOR
public static final int DEPENDENCY_SNMP4J_MAJOR- See Also:
-
DEPENDENCY_SNMP4J_MINOR
public static final int DEPENDENCY_SNMP4J_MINOR- See Also:
-
DEPENDENCY_SNMP4J_UPDATE
public static final int DEPENDENCY_SNMP4J_UPDATE- See Also:
-
DEPENDENCY_SNMP4J_PATCH
- See Also:
-
DEPENDENCY_SNMP4J_AGENT_MAJOR
public static final int DEPENDENCY_SNMP4J_AGENT_MAJOR- See Also:
-
DEPENDENCY_SNMP4J_AGENT_MINOR
public static final int DEPENDENCY_SNMP4J_AGENT_MINOR- See Also:
-
DEPENDENCY_SNMP4J_AGENT_UPDATE
public static final int DEPENDENCY_SNMP4J_AGENT_UPDATE- See Also:
-
DEPENDENCY_SNMP4J_AGENT_PATCH
- 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:
true
if the dependencies have the minimum required version(s).
-