@Test(expected = CleanBatfishException.class) public void testBoolenParsingBogusValue() { Settings settings = new Settings(new String[] {"-register=blah"}); assertThat(settings.getCoordinatorRegister(), is(false)); }
public boolean getCoordinatorRegister() { return _config.getBoolean(ARG_COORDINATOR_REGISTER); }
Settings extends BaseSettings implements GrammarSettings { public boolean getCoordinatorRegister() { return _config.getBoolean(ARG_COORDINATOR_REGISTER); } }
Settings extends BaseSettings implements GrammarSettings { public boolean getCoordinatorRegister() { return _config.getBoolean(ARG_COORDINATOR_REGISTER); } Settings();  Settings(String[] args);  Settings(Settings other); }
Settings extends BaseSettings implements GrammarSettings { public boolean getCoordinatorRegister() { return _config.getBoolean(ARG_COORDINATOR_REGISTER); } Settings();  Settings(String[] args);  Settings(Settings other); void clearValues(String... keys); boolean canExecute(); boolean debugFlagEnabled(String flag); boolean getAlwaysIncludeAnswerInWorkJsonLog(); @Nullable AnalysisId getAnalysisName(); boolean getAnalyze(); boolean getAnswer(); int getAvailableThreads(); NetworkId getContainer(); String getCoordinatorHost(); int getCoordinatorPoolPort(); boolean getCoordinatorRegister(); boolean getDataPlane(); List<String> getDebugFlags(); SnapshotId getDeltaTestrig(); boolean getDifferential(); boolean getDiffQuestion(); @Override boolean getDisableUnrecognized(); boolean getExitOnFirstError(); boolean getFlatten(); Path getFlattenDestination(); boolean getHaltOnConvertError(); boolean getHaltOnParseError(); boolean getHistogram(); boolean getInitInfo(); int getJobs(); @Nullable String getLogFile(); BatfishLogger getLogger(); String getLogLevel(); boolean getParseReuse(); @Override int getMaxParserContextLines(); @Override int getMaxParserContextTokens(); @Override int getMaxParseTreePrintLength(); int getMaxRuntimeMs(); @Override boolean getPrintParseTree(); @Override boolean getPrintParseTreeLineNums(); @Nullable QuestionId getQuestionName(); RunMode getRunMode(); boolean getSequential(); boolean getSerializeIndependent(); boolean getSerializeVendor(); String getServiceBindHost(); String getServiceHost(); String getServiceName(); int getServicePort(); boolean getShuffleJobs(); String getSnapshotName(); @Nullable Path getStorageBase(); @Nullable String getTaskId(); String getTaskPlugin(); SnapshotId getTestrig(); @Override boolean getThrowOnLexerError(); @Override boolean getThrowOnParserError(); boolean getTimestamp(); String getTracingAgentHost(); Integer getTracingAgentPort(); boolean getTracingEnable(); boolean getVerboseParse(); List<String> ignoreFilesWithStrings(); boolean ignoreManagementInterfaces(); boolean ignoreUnknown(); boolean ignoreUnsupported(); String getDataPlaneEngineName(); void parseCommandLine(String[] args); void setCanExecute(boolean canExecute); void setContainer(String container); void setDebugFlags(List<String> debugFlags); void setDeltaTestrig(SnapshotId testrig); void setDiffQuestion(boolean diffQuestion); @Override void setDisableUnrecognized(boolean b); void setHaltOnConvertError(boolean haltOnConvertError); void setHaltOnParseError(boolean haltOnParseError); void setIgnoreFilesWithStrings(@Nonnull List<String> ignored); void setInitInfo(boolean initInfo); void setLogger(BatfishLogger logger); void setMaxParserContextLines(int maxParserContextLines); void setMaxParserContextTokens(int maxParserContextTokens); void setMaxParseTreePrintLength(int maxParseTreePrintLength); void setMaxRuntimeMs(int runtimeMs); @Override void setPrintParseTree(boolean printParseTree); @Override void setPrintParseTreeLineNums(boolean printParseTreeLineNums); void setRunMode(RunMode runMode); void setSequential(boolean sequential); void setStorageBase(Path storageBase); void setTaskId(String taskId); void setTestrig(String testrig); @Override void setThrowOnLexerError(boolean throwOnLexerError); @Override void setThrowOnParserError(boolean throwOnParserError); void setVerboseParse(boolean verboseParse); void setDataplaneEngineName(String name); void setQuestionName(QuestionId questionName); void setSnapshotName(String snapshotName); }
Settings extends BaseSettings implements GrammarSettings { public boolean getCoordinatorRegister() { return _config.getBoolean(ARG_COORDINATOR_REGISTER); } Settings();  Settings(String[] args);  Settings(Settings other); void clearValues(String... keys); boolean canExecute(); boolean debugFlagEnabled(String flag); boolean getAlwaysIncludeAnswerInWorkJsonLog(); @Nullable AnalysisId getAnalysisName(); boolean getAnalyze(); boolean getAnswer(); int getAvailableThreads(); NetworkId getContainer(); String getCoordinatorHost(); int getCoordinatorPoolPort(); boolean getCoordinatorRegister(); boolean getDataPlane(); List<String> getDebugFlags(); SnapshotId getDeltaTestrig(); boolean getDifferential(); boolean getDiffQuestion(); @Override boolean getDisableUnrecognized(); boolean getExitOnFirstError(); boolean getFlatten(); Path getFlattenDestination(); boolean getHaltOnConvertError(); boolean getHaltOnParseError(); boolean getHistogram(); boolean getInitInfo(); int getJobs(); @Nullable String getLogFile(); BatfishLogger getLogger(); String getLogLevel(); boolean getParseReuse(); @Override int getMaxParserContextLines(); @Override int getMaxParserContextTokens(); @Override int getMaxParseTreePrintLength(); int getMaxRuntimeMs(); @Override boolean getPrintParseTree(); @Override boolean getPrintParseTreeLineNums(); @Nullable QuestionId getQuestionName(); RunMode getRunMode(); boolean getSequential(); boolean getSerializeIndependent(); boolean getSerializeVendor(); String getServiceBindHost(); String getServiceHost(); String getServiceName(); int getServicePort(); boolean getShuffleJobs(); String getSnapshotName(); @Nullable Path getStorageBase(); @Nullable String getTaskId(); String getTaskPlugin(); SnapshotId getTestrig(); @Override boolean getThrowOnLexerError(); @Override boolean getThrowOnParserError(); boolean getTimestamp(); String getTracingAgentHost(); Integer getTracingAgentPort(); boolean getTracingEnable(); boolean getVerboseParse(); List<String> ignoreFilesWithStrings(); boolean ignoreManagementInterfaces(); boolean ignoreUnknown(); boolean ignoreUnsupported(); String getDataPlaneEngineName(); void parseCommandLine(String[] args); void setCanExecute(boolean canExecute); void setContainer(String container); void setDebugFlags(List<String> debugFlags); void setDeltaTestrig(SnapshotId testrig); void setDiffQuestion(boolean diffQuestion); @Override void setDisableUnrecognized(boolean b); void setHaltOnConvertError(boolean haltOnConvertError); void setHaltOnParseError(boolean haltOnParseError); void setIgnoreFilesWithStrings(@Nonnull List<String> ignored); void setInitInfo(boolean initInfo); void setLogger(BatfishLogger logger); void setMaxParserContextLines(int maxParserContextLines); void setMaxParserContextTokens(int maxParserContextTokens); void setMaxParseTreePrintLength(int maxParseTreePrintLength); void setMaxRuntimeMs(int runtimeMs); @Override void setPrintParseTree(boolean printParseTree); @Override void setPrintParseTreeLineNums(boolean printParseTreeLineNums); void setRunMode(RunMode runMode); void setSequential(boolean sequential); void setStorageBase(Path storageBase); void setTaskId(String taskId); void setTestrig(String testrig); @Override void setThrowOnLexerError(boolean throwOnLexerError); @Override void setThrowOnParserError(boolean throwOnParserError); void setVerboseParse(boolean verboseParse); void setDataplaneEngineName(String name); void setQuestionName(QuestionId questionName); void setSnapshotName(String snapshotName); static final String ARG_CHECK_BGP_REACHABILITY; static final String ARG_COORDINATOR_HOST; static final String ARG_COORDINATOR_POOL_PORT; static final String ARG_COORDINATOR_REGISTER; static final String ARG_RUN_MODE; static final String ARG_SERVICE_HOST; static final String ARG_SERVICE_NAME; static final String ARG_SERVICE_PORT; static final String ARG_TRACING_ENABLE; static final String TASK_ID; }