public boolean shouldIncludeScenarioLibraries() { // Should consider all of the decorated content to resolve those variables. String testSystem = sourcePage.getVariable(WikiPageIdentity.TEST_SYSTEM); boolean isSlim = "slim".equalsIgnoreCase(testSystem) || "slimCoverage".equalsIgnoreCase(testSystem); String includeScenarioLibraries = sourcePage.getVariable("INCLUDE_SCENARIO_LIBRARIES"); boolean includeScenarios = "true".equalsIgnoreCase(includeScenarioLibraries); boolean notIncludeScenarios = "false".equalsIgnoreCase(includeScenarioLibraries); return includeScenarios || (!notIncludeScenarios && isSlim); }
protected String getPathSeparator() { String separator = sourcePage.getVariable(PageData.PATH_SEPARATOR); if (separator == null) separator = File.pathSeparator; return separator; }
@Override public String getVariable(String variable) { return sourcePage.getVariable(variable); }
private String getConfiguredRssLinkPrefixFrom(WikiPage contextPage) throws Exception { if (contextPage == null) { return null; } return contextPage.getVariable("RSS_PREFIX"); }