public Response apply()

in java/com/googlesource/gerrit/plugins/zuulresultssummary/GetConfig.java [38:47]


  public Response<ZuulResultsSummaryConfig> apply(ProjectResource project)
      throws NoSuchProjectException {
    ZuulResultsSummaryConfig result = new ZuulResultsSummaryConfig();
    result.enabled =
        cfgFactory
            .getFromProjectConfigWithInheritance(project.getNameKey(), pluginName)
            .getBoolean(Module.KEY_PLUGIN_ENABLED, true);

    return Response.ok(result);
  }