List of usage examples for com.jgoodies.common.base Strings isBlank
public static boolean isBlank(String str)
From source file:com.thoughtworks.gauge.execution.GaugeRunConfiguration.java
License:Open Source License
private void addFlags(GeneralCommandLine commandLine, ExecutionEnvironment env) { if (GaugeVersion.isGreaterOrEqual(TEST_RUNNER_SUPPORT_VERSION, true) && GaugeSettingsService.getSettings().useIntelliJTestRunner()) { commandLine.addParameter(Constants.RUN); commandLine.addParameter(Constants.MACHINE_READABLE); commandLine.addParameter(Constants.HIDE_SUGGESTION); }/*from ww w. j av a 2 s .c o m*/ commandLine.addParameter(Constants.SIMPLE_CONSOLE); if (!Strings.isBlank(tags)) { commandLine.addParameter(Constants.TAGS); commandLine.addParameter(tags); } if (!Strings.isBlank(environment)) { commandLine.addParameters(Constants.ENV_FLAG, environment); } addTableRowsRangeFlags(commandLine); addParallelExecFlags(commandLine, env); addProgramArguments(commandLine); addProjectClasspath(commandLine); if (!Strings.isBlank(specsToExecute)) { addSpecs(commandLine, specsToExecute); } }
From source file:com.thoughtworks.gauge.execution.GaugeRunConfiguration.java
License:Open Source License
private void addTableRowsRangeFlags(GeneralCommandLine commandLine) { if (!Strings.isBlank(rowsRange)) { commandLine.addParameter(Constants.TABLE_ROWS); commandLine.addParameter(rowsRange); }// w ww . j av a2 s.co m }