io.vertx.core.spi.launcher

## Interface CommandFactory<C extends Command>

- All Known Implementing Classes:
    DefaultCommandFactory

      public interface CommandFactory<C extends Command>

  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

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `C` | `create(CommandLine evaluated)`
    `CLI` | `define()` Creates a new `CLI` instance.

- - ### Method Detail

    - #### create

          C create(CommandLine evaluated)

      Returns:
        a new instance of the command.

    - #### define

          CLI define()

      Creates a new `CLI` instance.
      Returns:
        the CLI.

Copyright © 2016. All rights reserved.