public class OmeroEnv
extends java.lang.Object
Constructor and Description |
---|
OmeroEnv(OmeCliConfigSource config,
ChannelSource<QueuedOmeroKeepAlive> sessionSourceChannel,
RemotePathResolver fileResolver,
LogService log)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
OmeCliConfigSource |
config() |
RemotePathResolver |
fileResolver() |
OmeroLogger |
log() |
ChannelSource<QueuedOmeroKeepAlive> |
sessionQ() |
public OmeroEnv(OmeCliConfigSource config, ChannelSource<QueuedOmeroKeepAlive> sessionSourceChannel, RemotePathResolver fileResolver, LogService log)
config
- provides access the the configuration values.sessionSourceChannel
- provides access to the session queue.fileResolver
- resolves remote paths to local ones.log
- the log service.java.lang.NullPointerException
- if any argument is null
.public OmeCliConfigSource config()
public ChannelSource<QueuedOmeroKeepAlive> sessionQ()
public RemotePathResolver fileResolver()
public OmeroLogger log()