Package 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 newLaunchercommand. Implementors needs to provide two methods:define()- creates aCLIinstance (so the model)create(CommandLine)} - creates a new command instance
- Author:
- Clement Escoffier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Ccreate(CommandLine evaluated)CLIdefine()Creates a newCLIinstance.
-
-
-
Method Detail
-
create
C create(CommandLine evaluated)
- Returns:
- a new instance of the command.
-
-