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 newLauncher
command. Implementors needs to provide two methods:define()
- creates aCLI
instance (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 C
create(CommandLine evaluated)
CLI
define()
Creates a newCLI
instance.
-
-
-
Method Detail
-
create
C create(CommandLine evaluated)
- Returns:
- a new instance of the command.
-
-