/** * Returns the key to the label to use as a label for the rendered link. * * @return the key to the label to use as a label for the rendered link. */ public String getLabelKey() { return strategy.getConfig().getLabelKey(); }
private String createRelativeReportLocationLink(final ReportId reportId, final LinkConstructorStrategy strategy) { final LinkConstructorStrategyConfig config = strategy.getConfig(); final File reportLocation = config.getReportLocation(); final String reportArtifactId = reportId.getReportArtifactId(); final String location; if (reportLocation.exists() || isReportPluginRegistered(reportArtifactId)) { location = calcRelativePath(reportLocation); } else { location = null; if (log != null && log.isWarnEnabled()) { log.warn("Cannot locate report of '" + reportArtifactId + "'. Disabling references to that report."); } } return location; }