public class CreateCommandBuilder extends OmeCliCommandBuilder
config
Constructor and Description |
---|
CreateCommandBuilder(OmeCliConfigSource config,
java.net.URI omeroServer,
java.lang.String username,
java.lang.String password)
Creates a new instance to build a command line from the given data.
|
Modifier and Type | Method and Description |
---|---|
protected util.runtime.CommandBuilder |
assembleArguments(util.runtime.jvm.JvmCmdBuilder java) |
protected java.lang.String |
commandName() |
java.lang.String |
toString() |
arg, assembleCommand, jarFile, optionalArg, tokens
public CreateCommandBuilder(OmeCliConfigSource config, java.net.URI omeroServer, java.lang.String username, java.lang.String password)
config
- configuration for the OMERO CLI commands.omeroServer
- host and port of the OMERO server to use.username
- the login name of the user this session is for.password
- the password of the user this session is for.java.lang.NullPointerException
- if the configuration or URI argument is
null
.java.lang.IllegalArgumentException
- if the username or password is null
or empty.protected java.lang.String commandName()
commandName
in class OmeCliCommandBuilder
protected util.runtime.CommandBuilder assembleArguments(util.runtime.jvm.JvmCmdBuilder java)
assembleArguments
in class OmeCliCommandBuilder
public java.lang.String toString()
toString
in class OmeCliCommandBuilder