Class VersionInfo

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

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

    • MAJOR

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

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

      public static final int UPDATE
      The update (micro) version number of this SNMP4J-Agent-DB release.
      See Also:
    • PATCH

      public static final String PATCH
      The optional patch suffix of this SNMP4J-Agent-DB release.
      See Also:
    • VERSION

      public static final String VERSION
      The full version string of this SNMP4J-Agent-DB release.
      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 suffix 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 suffix of the SNMP4J-Agent 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 all dependencies have the minimum required version.
      Returns:
      true if the dependencies have the minimum required version(s).