Class ExecutionContext

    • Constructor Detail

      • ExecutionContext

        public ExecutionContext​(Command command,
                                io.vertx.core.impl.launcher.VertxCommandLauncher launcher,
                                CommandLine commandLine)
        Creates a new instance of ExecutionContext.
        Parameters:
        command - the command instance that is executed
        launcher - the launcher class
        commandLine - the command line
    • Method Detail

      • command

        public Command command()
        Returns:
        the command line object.
      • launcher

        public io.vertx.core.impl.launcher.VertxCommandLauncher launcher()
        Returns:
        the launcher.
      • cli

        public CLI cli()
        Returns:
        the CLI.
      • execute

        public void execute​(String command,
                            String... args)
        Executes another command.
        Parameters:
        command - the command name
        args - the arguments
      • main

        public Object main()
        Returns:
        the Main-Class object.