public class KeepAliveCommandBuilder extends OmeCliCommandBuilder
config
Constructor and Description |
---|
KeepAliveCommandBuilder(OmeCliConfigSource config,
java.net.URI omeroServer,
java.lang.String sessionKey)
Creates a new instance to build a command line from the given data.
|
Modifier and Type | Method and Description |
---|---|
protected util.runtime.jvm.JvmCmdBuilder |
assembleArguments(util.runtime.jvm.JvmCmdBuilder java) |
protected java.lang.String |
commandName() |
java.lang.String |
toString() |
arg, assembleCommand, jarFile, optionalArg, tokens
public KeepAliveCommandBuilder(OmeCliConfigSource config, java.net.URI omeroServer, java.lang.String sessionKey)
config
- configuration for the OMERO CLI commands.omeroServer
- host and port of the OMERO server to use.sessionKey
- the session ID of the session to keep alive.java.lang.NullPointerException
- if any argument is null
.protected java.lang.String commandName()
commandName
in class OmeCliCommandBuilder
protected util.runtime.jvm.JvmCmdBuilder assembleArguments(util.runtime.jvm.JvmCmdBuilder java)
assembleArguments
in class OmeCliCommandBuilder
public java.lang.String toString()
toString
in class OmeCliCommandBuilder