Package org.snmp4j.agent.db.version
Class VersionInfo
- java.lang.Object
-
- org.snmp4j.agent.db.version.VersionInfo
-
public class VersionInfo extends Object
TheVersionInfo
object returns information about the version of this SNMP4J-AgentX release.- Version:
- 3.0
- Author:
- Frank Fock
-
-
Field Summary
Fields Modifier and Type Field Description static int
DEPENDENCY_SNMP4J_AGENT_MAJOR
static int
DEPENDENCY_SNMP4J_AGENT_MINOR
static String
DEPENDENCY_SNMP4J_AGENT_PATCH
static int
DEPENDENCY_SNMP4J_AGENT_UPDATE
static int
DEPENDENCY_SNMP4J_MAJOR
static int
DEPENDENCY_SNMP4J_MINOR
static String
DEPENDENCY_SNMP4J_PATCH
static int
DEPENDENCY_SNMP4J_UPDATE
static int
MAJOR
static int
MINOR
static String
PATCH
static int
UPDATE
static String
VERSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static boolean
checkMinVersionOfDependencies()
Checks whether all dependencies have the minimum required version.static String
getVersion()
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
-
DEPENDENCY_SNMP4J_AGENT_MAJOR
public static final int DEPENDENCY_SNMP4J_AGENT_MAJOR
- See Also:
- Constant Field Values
-
DEPENDENCY_SNMP4J_AGENT_MINOR
public static final int DEPENDENCY_SNMP4J_AGENT_MINOR
- See Also:
- Constant Field Values
-
DEPENDENCY_SNMP4J_AGENT_UPDATE
public static final int DEPENDENCY_SNMP4J_AGENT_UPDATE
- See Also:
- Constant Field Values
-
DEPENDENCY_SNMP4J_AGENT_PATCH
public static final String DEPENDENCY_SNMP4J_AGENT_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 all dependencies have the minimum required version.- Returns:
true
if the dependencies have the minimum required version(s).
-
-