public abstract class OmeCliCommandBuilder
extends java.lang.Object
implements util.runtime.CommandBuilder
Modifier and Type | Field and Description |
---|---|
protected OmeCliConfigSource |
config |
Modifier | Constructor and Description |
---|---|
protected |
OmeCliCommandBuilder(OmeCliConfigSource config) |
Modifier and Type | Method and Description |
---|---|
protected static util.runtime.ListProgramArgument<java.lang.String> |
arg(java.lang.String... tokens) |
protected abstract util.runtime.CommandBuilder |
assembleArguments(util.runtime.jvm.JvmCmdBuilder bareCommand) |
protected util.runtime.CommandBuilder |
assembleCommand() |
protected abstract java.lang.String |
commandName() |
protected util.runtime.jvm.JarJvmArg |
jarFile() |
protected static <T> util.runtime.ListProgramArgument<java.lang.String> |
optionalArg(java.lang.String argName,
java.util.Optional<T> argValue) |
java.util.stream.Stream<java.lang.String> |
tokens() |
java.lang.String |
toString() |
protected final OmeCliConfigSource config
protected OmeCliCommandBuilder(OmeCliConfigSource config)
protected static util.runtime.ListProgramArgument<java.lang.String> arg(java.lang.String... tokens)
protected static <T> util.runtime.ListProgramArgument<java.lang.String> optionalArg(java.lang.String argName, java.util.Optional<T> argValue)
protected abstract java.lang.String commandName()
protected abstract util.runtime.CommandBuilder assembleArguments(util.runtime.jvm.JvmCmdBuilder bareCommand)
protected util.runtime.jvm.JarJvmArg jarFile()
protected util.runtime.CommandBuilder assembleCommand()
public java.util.stream.Stream<java.lang.String> tokens()
tokens
in interface util.runtime.CommandBuilder
public java.lang.String toString()
toString
in class java.lang.Object