Top Description Methods
io.vertx.core.spi.launcher

public Interface CommandFactory<C extends Command>

Known Direct Implementers
io.vertx.core.spi.launcher.DefaultCommandFactory
Imports
io.vertx.core.Launcher, io.vertx.core.cli.CLI, .CommandLine

SPI Interface to provide a new Launcher command. Implementors needs to provide two methods:
  1. define() - creates a CLI instance (so the model)
  2. create(CommandLine)} - creates a new command instance
Author
Clement Escoffier

Method Summary

Modifier and TypeMethod and Description
public C

Returns:

a new instance of the command.
create
(CommandLine evaluated)

public CLI

Returns:

the CLI.
define
()

Creates a new CLI instance.

Method Detail

createback to summary
public C create(CommandLine evaluated)
Returns:C

a new instance of the command.

defineback to summary
public CLI define()

Creates a new CLI instance.

Returns:CLI

the CLI.