Ejemplo n.º 1
0
  public List<ReportPlugin> getReportPlugins(final ModelBase base) {
    final Reporting reporting = base.getReporting();
    if (reporting == null) {
      return Collections.emptyList();
    }

    return reporting.getPlugins();
  }
Ejemplo n.º 2
0
  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();
    }
  }