use of com.codingchili.core.benchmarking.CoreBenchmarkSuite in project chili-core by codingchili.
the class LauncherCommandExecutor method registerCommands.
private void registerCommands() {
CoreBenchmarkSuite suite = new CoreBenchmarkSuite();
super.add((executor) -> LauncherCommandResult.CONTINUE, DEPLOY, getDeployDescription());
add(Configurations::reset, RECONFIGURE, getReconfigureDescription());
add(generator(AuthenticationGenerator::preshare), GENERATE_PRESHARED, getGeneratePresharedDescription());
add(generator(AuthenticationGenerator::secrets), GENERATE_SECRETS, getGenerateSecretsDescription());
add(generator(AuthenticationGenerator::tokens), GENERATE_TOKENS, getGenerateTokensDescription());
add(generator(AuthenticationGenerator::all), GENERATE, getGenerateAllDescription());
add(suite::execute, BENCHMARK, getBenchmarkDescription());
add(this::help, HELP, getCommandExecutorHelpDescription());
}
Aggregations