public List<ReportPlugin> getReportPlugins(final ModelBase base) { final Reporting reporting = base.getReporting(); if (reporting == null) { return Collections.emptyList(); } return reporting.getPlugins(); }
public void flushPluginMaps(final ModelBase base) { final BuildBase build = getBuild(base); if (build != null) { build.flushPluginMap(); final PluginManagement pm = build.getPluginManagement(); if (pm != null) { pm.flushPluginMap(); } } final Reporting reporting = model.getReporting(); if (reporting != null) { reporting.flushReportPluginMap(); } }