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, tokenspublic 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 OmeCliCommandBuilderprotected util.runtime.CommandBuilder assembleArguments(util.runtime.jvm.JvmCmdBuilder java)
assembleArguments in class OmeCliCommandBuilderpublic java.lang.String toString()
toString in class OmeCliCommandBuilder