Package org.jlab.jlog

Class Library

java.lang.Object
org.jlab.jlog.Library

public final class Library extends Object
Captures the jlog library global version and configuration information. The Overview page contains a list of all available configuration properties.
  • Method Details

    • getConfiguration

      public static Properties getConfiguration()
      Get the configuration properties.
      Returns:
      The configuration
    • setConfiguration

      public static void setConfiguration(Properties configuration)
      Set the configuration properties.
      Parameters:
      configuration - The configuration
    • getVersion

      public static String getVersion()
      Returns the library version String. A programmatically accessible version String is a requirement of JLab accelerator software certification. Versioning follows Semantic Versioning.
      Returns:
      The version String
    • getReleaseDate

      public static String getReleaseDate()
      The date in which this version of the library was released.
      Returns:
      The date string
    • setServer

      public static void setServer(String server)
      Set the logbook server. This updates the SUBMIT, FETCH, SCHEMA, and COMMENT URLs.
      Parameters:
      server - The logbook server