org.sonar.server.startup
Class RegisterNewDashboards

java.lang.Object
  extended by org.sonar.server.startup.RegisterNewDashboards

public final class RegisterNewDashboards
extends Object

Since:
2.13

Nested Class Summary
protected static class RegisterNewDashboards.DashboardComparator
           
 
Constructor Summary
RegisterNewDashboards(DashboardDao dashboardDao, ActiveDashboardDao activeDashboardDao, LoadedTemplateDao loadedTemplateDao)
           
RegisterNewDashboards(DashboardTemplate[] dashboardTemplatesArray, DashboardDao dashboardDao, ActiveDashboardDao activeDashboardDao, LoadedTemplateDao loadedTemplateDao)
           
 
Method Summary
protected  void activate(List<DashboardDto> loadedDashboards)
           
protected  DashboardDto createDtoFromExtension(String name, Dashboard dashboard)
           
protected  DashboardDto register(String name, Dashboard dashboard)
           
protected  boolean shouldRegister(String dashboardName)
           
 void start()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegisterNewDashboards

public RegisterNewDashboards(DashboardDao dashboardDao,
                             ActiveDashboardDao activeDashboardDao,
                             LoadedTemplateDao loadedTemplateDao)

RegisterNewDashboards

public RegisterNewDashboards(DashboardTemplate[] dashboardTemplatesArray,
                             DashboardDao dashboardDao,
                             ActiveDashboardDao activeDashboardDao,
                             LoadedTemplateDao loadedTemplateDao)
Method Detail

start

public void start()

activate

protected void activate(List<DashboardDto> loadedDashboards)

register

protected DashboardDto register(String name,
                                Dashboard dashboard)

createDtoFromExtension

protected DashboardDto createDtoFromExtension(String name,
                                              Dashboard dashboard)

shouldRegister

protected boolean shouldRegister(String dashboardName)


Copyright © 2009-2012 SonarSource. All Rights Reserved.