static OptionArg<List<String>> createIncludeOpt( Map<String, MASConfiguration> configMap) { return Option.builder("i", ArgumentParser.prefixedIntList(CONFIG_PREFIX)) .longName("include") .description( "The following configurations can be included in the experiment " + "setup:", createConfigString(configMap), "This option can not be used together with --exclude.") .build(); }
static OptionArg<List<String>> createExcludeOpt( Map<String, MASConfiguration> configMap) { return Option.builder("e", ArgumentParser.prefixedIntList(CONFIG_PREFIX)) .longName("exclude") .description( "The following configurations can be excluded from the experiment" + " setup:", createConfigString(configMap), "This option can not be used together with --include.") .build(); }
static OptionArg<List<String>> createIncludeOpt( Map<String, MASConfiguration> configMap) { return Option.builder("i", ArgumentParser.prefixedIntList(CONFIG_PREFIX)) .longName("include") .description( "The following configurations can be included in the experiment " + "setup:", createConfigString(configMap), "This option can not be used together with --exclude.") .build(); }
static OptionArg<List<String>> createExcludeOpt( Map<String, MASConfiguration> configMap) { return Option.builder("e", ArgumentParser.prefixedIntList(CONFIG_PREFIX)) .longName("exclude") .description( "The following configurations can be excluded from the experiment" + " setup:", createConfigString(configMap), "This option can not be used together with --include.") .build(); }
final Menu m = Menu.builder() .addHelpOption("h", "help", "Hi") .add(Option.builder("i", ArgumentParser.prefixedIntList("t")).build(), consumer, new ArgHandler<List<String>, List<String>>() {