public class ExecutionContext extends HashMap<String,Object>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
ExecutionContext(Command command,
io.vertx.core.impl.launcher.VertxCommandLauncher launcher,
CommandLine commandLine)
Creates a new instance of
ExecutionContext . |
Modifier and Type | Method and Description |
---|---|
CLI |
cli() |
Command |
command() |
CommandLine |
commandLine() |
void |
execute(String command,
String... args)
Executes another command.
|
PrintStream |
getPrintStream() |
io.vertx.core.impl.launcher.VertxCommandLauncher |
launcher() |
Object |
main() |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public ExecutionContext(Command command, io.vertx.core.impl.launcher.VertxCommandLauncher launcher, CommandLine commandLine)
ExecutionContext
.command
- the command instance that is executedlauncher
- the launcher classcommandLine
- the command linepublic Command command()
public io.vertx.core.impl.launcher.VertxCommandLauncher launcher()
public CommandLine commandLine()
CommandLine
.public void execute(String command, String... args)
command
- the command nameargs
- the argumentspublic Object main()
Main-Class
object.public PrintStream getPrintStream()
PrintStream
on which command can write.Copyright © 2021 Eclipse. All rights reserved.