org.snmp4j.agent.agentx.version
Class VersionInfo

java.lang.Object
  extended by org.snmp4j.agent.agentx.version.VersionInfo

public class VersionInfo
extends java.lang.Object

The VersionInfo object returns information about the version of this SNMP4J-AgentX release.

Since:
1.1
Version:
1.1
Author:
Frank Fock

Field Summary
static int DEPENDENCY_SNMP4J_AGENT_MAJOR
           
static int DEPENDENCY_SNMP4J_AGENT_MINOR
           
static java.lang.String DEPENDENCY_SNMP4J_AGENT_PATCH
           
static int DEPENDENCY_SNMP4J_AGENT_UPDATE
           
static int DEPENDENCY_SNMP4J_MAJOR
           
static int DEPENDENCY_SNMP4J_MINOR
           
static java.lang.String DEPENDENCY_SNMP4J_PATCH
           
static int DEPENDENCY_SNMP4J_UPDATE
           
static int MAJOR
           
static int MINOR
           
static java.lang.String PATCH
           
static int UPDATE
           
static java.lang.String VERSION
           
 
Method Summary
static boolean checkMinVersionOfDependencies()
          Checks whether SNMP4J has the minimum required version.
static java.lang.String getVersion()
          Gets the version string for this release.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 java.lang.String PATCH
See Also:
Constant Field Values

VERSION

public static final java.lang.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 java.lang.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 java.lang.String DEPENDENCY_SNMP4J_AGENT_PATCH
See Also:
Constant Field Values
Method Detail

getVersion

public static final java.lang.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:
true if the dependencies have the minimum required version(s).

Copyright 2005-2011 Frank Fock (SNMP4J.org)

Copyright © 2011 SNMP4J.org. All Rights Reserved.