Search in sources :

Example 1 with Configurations

use of com.codingchili.core.files.Configurations 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());
}
Also used : CoreBenchmarkSuite(com.codingchili.core.benchmarking.CoreBenchmarkSuite) Configurations(com.codingchili.core.files.Configurations)

Aggregations

CoreBenchmarkSuite (com.codingchili.core.benchmarking.CoreBenchmarkSuite)1 Configurations (com.codingchili.core.files.Configurations)1