Class VersionInfo

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

public class VersionInfo extends Object
The VersionInfo object returns information about the version of this SNMP4J-AgentX release.
Since:
1.1
Version:
1.1
Author:
Frank Fock
  • Field Details

    • MAJOR

      public static final int MAJOR
      The major version number of this SNMP4J-AgentX release.
      See Also:
    • MINOR

      public static final int MINOR
      The minor version number of this SNMP4J-AgentX release.
      See Also:
    • UPDATE

      public static final int UPDATE
      The update (patch level) version number of this SNMP4J-AgentX release.
      See Also:
    • PATCH

      public static final String PATCH
      An optional patch qualifier appended to the version string (empty if none).
      See Also:
    • VERSION

      public static final String VERSION
      The full version string of this SNMP4J-AgentX release in the form major.minor.update[patch].
      See Also:
    • DEPENDENCY_SNMP4J_MAJOR

      public static final int DEPENDENCY_SNMP4J_MAJOR
      The minimum required major version of the SNMP4J dependency.
      See Also:
    • DEPENDENCY_SNMP4J_MINOR

      public static final int DEPENDENCY_SNMP4J_MINOR
      The minimum required minor version of the SNMP4J dependency.
      See Also:
    • DEPENDENCY_SNMP4J_UPDATE

      public static final int DEPENDENCY_SNMP4J_UPDATE
      The minimum required update version of the SNMP4J dependency.
      See Also:
    • DEPENDENCY_SNMP4J_PATCH

      public static final String 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_MAJOR
      The minimum required major version of the SNMP4J-Agent dependency.
      See Also:
    • DEPENDENCY_SNMP4J_AGENT_MINOR

      public static final int DEPENDENCY_SNMP4J_AGENT_MINOR
      The minimum required minor version of the SNMP4J-Agent dependency.
      See Also:
    • DEPENDENCY_SNMP4J_AGENT_UPDATE

      public static final int DEPENDENCY_SNMP4J_AGENT_UPDATE
      The minimum required update version of the SNMP4J-Agent dependency.
      See Also:
    • DEPENDENCY_SNMP4J_AGENT_PATCH

      public static final String 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_MAJOR
      The 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_MINOR
      The 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_UPDATE
      The minimum required update version of the SNMP4J-Agent-DB dependency.
      See Also:
    • DEPENDENCY_SNMP4J_AGENT_DB_PATCH

      public static final String DEPENDENCY_SNMP4J_AGENT_DB_PATCH
      The minimum required patch qualifier of the SNMP4J-Agent-DB dependency.
      See Also:
  • Method Details

    • 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:
      true if the dependencies have the minimum required version(s).