Class VersionExtended

java.lang.Object
org.apache.subversion.javahl.types.VersionExtended

public class VersionExtended
extends Object
Encapsulates information about the compile-time and run-time properties of the Subversion libraries.
Since:
1.8
  • Constructor Details

  • Method Details

    • dispose

      public void dispose()
      Release the native peer. This method must be called to release the native resources held by this object.

      Once this method is called, all object references obtained from the iterators returned by getLinkedLibs() and getLoadedLibs() become invalid and should no longer be used.

    • finalize

      public void finalize()
      release the native peer (should use dispose instead)
      Overrides:
      finalize in class Object
    • getBuildDate

      public String getBuildDate()
      Returns:
      The date when the libsvn_subr library was compiled, in the format defined by the C standard macro #__DATE__.
    • getBuildTime

      public String getBuildTime()
      Returns:
      The time when the libsvn_subr library was compiled, in the format defined by the C standard macro #__TIME__.
    • getBuildHost

      public String getBuildHost()
      Returns:
      The canonical host triplet (arch-vendor-osname) of the system where libsvn_subr was compiled.

      Note: On Unix-like systems (includng Mac OS X), this string is the same as the output of the config.guess script for the underlying Subversion libraries.

    • getCopyright

      public String getCopyright()
      Returns:
      The localized copyright notice.
    • getRuntimeHost

      public String getRuntimeHost()
      Returns:
      The canonical host triplet (arch-vendor-osname) of the system where the current process is running.

      Note: This string may not be the same as the output of config.guess on the same system.

    • getRuntimeOSName

      public String getRuntimeOSName()
      Returns:
      The "commercial" release name of the running operating system, if available. Not to be confused with, e.g., the output of "uname -v" or "uname -r". The returned value may be #null.
    • getLinkedLibs

      public Iterator<VersionExtended.LinkedLib> getLinkedLibs()
      Returns:
      Iterator for an immutable internal list of #LinkedLib describing dependent libraries. The list may be empty.
    • getLoadedLibs

      public Iterator<VersionExtended.LoadedLib> getLoadedLibs()
      Returns:
      Iterator for an immutable internal list of #LoadedLib describing loaded shared libraries. The the list may be empty.

      Note: On Mac OS X, the loaded frameworks, private frameworks and system libraries will not be listed.