PT
- Type of parameters objectST
- Type of collected execution statistics@Beta @FunctionalInterface public interface CliEntry2<PT,ST>
Modifier and Type | Method and Description |
---|---|
void |
invoke(PT params,
CliInvocationEnv2<ST> env)
Entry point of a CLI.
|
void invoke(PT params, CliInvocationEnv2<ST> env) throws Exception
params
- Parsed parameters objectenv
- Invocation environmentException
- all exceptions are expected to be propagated