public class OmeCliConfigReader extends java.lang.Object implements OmeCliConfigSource
OmeCliConfigSource
by reading configuration values as
specified by OmeCliConfig
and provide type-safe access to said
values.Constructor and Description |
---|
OmeCliConfigReader(OmeCliConfig config)
Creates a new instance to read the given configuration.
|
Modifier and Type | Method and Description |
---|---|
java.nio.file.Path |
omeCliJar() |
java.time.Duration |
sessionKeepAliveInterval() |
public OmeCliConfigReader(OmeCliConfig config)
config
- the raw configuration values.java.lang.NullPointerException
- if the argument is null
.public java.nio.file.Path omeCliJar()
omeCliJar
in interface OmeCliConfigSource
public java.time.Duration sessionKeepAliveInterval()
sessionKeepAliveInterval
in interface OmeCliConfigSource