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 PropertiesGet the configuration properties.static StringThe date in which this version of the library was released.static StringReturns the library version String.static voidsetConfiguration(Properties configuration) Set the configuration properties.static voidSet 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
-