Package org.jlab.jlog
Class Library
java.lang.Object
org.jlab.jlog.Library
Captures the jlog library global version and configuration information.
The Overview page contains a list of all available configuration properties.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Properties
Get the configuration properties.static String
The date in which this version of the library was released.static String
Returns the library version String.static void
setConfiguration
(Properties configuration) Set the configuration properties.static void
Set the logbook server.
-
Method Details
-
getConfiguration
Get the configuration properties.- Returns:
- The configuration
-
setConfiguration
Set the configuration properties.- Parameters:
configuration
- The configuration
-
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
The date in which this version of the library was released.- Returns:
- The date string
-
setServer
Set the logbook server. This updates the SUBMIT, FETCH, SCHEMA, and COMMENT URLs.- Parameters:
server
- The logbook server
-