- java.lang.Object
-
- org.snmp4j.agent.version.VersionInfo
-
public class VersionInfo extends Object
TheVersionInfoobject returns information about the version of this SNMP4J-Agent release.- Version:
- 1.2c
- Author:
- Frank Fock
-
-
Field Summary
Fields Modifier and Type Field Description static intDEPENDENCY_SNMP4J_MAJORstatic intDEPENDENCY_SNMP4J_MINORstatic StringDEPENDENCY_SNMP4J_PATCHstatic intDEPENDENCY_SNMP4J_UPDATEstatic intMAJORstatic intMINORstatic StringPATCHstatic intUPDATEstatic StringVERSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancheckMinVersionOfDependencies()Checks whether SNMP4J has the minimum required version.static StringgetVersion()Gets the version string for this release.
-
-
-
Field Detail
-
MAJOR
public static final int MAJOR
- See Also:
- Constant Field Values
-
MINOR
public static final int MINOR
- See Also:
- Constant Field Values
-
UPDATE
public static final int UPDATE
- See Also:
- Constant Field Values
-
PATCH
public static final String PATCH
- See Also:
- Constant Field Values
-
VERSION
public static final String VERSION
- See Also:
- Constant Field Values
-
DEPENDENCY_SNMP4J_MAJOR
public static final int DEPENDENCY_SNMP4J_MAJOR
- See Also:
- Constant Field Values
-
DEPENDENCY_SNMP4J_MINOR
public static final int DEPENDENCY_SNMP4J_MINOR
- See Also:
- Constant Field Values
-
DEPENDENCY_SNMP4J_UPDATE
public static final int DEPENDENCY_SNMP4J_UPDATE
- See Also:
- Constant Field Values
-
DEPENDENCY_SNMP4J_PATCH
public static final String DEPENDENCY_SNMP4J_PATCH
- See Also:
- Constant Field Values
-
-
Method Detail
-
getVersion
public static String 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).
-
-