Package org.sonar.core.dashboard

Examples of org.sonar.core.dashboard.ActiveDashboardDto


    }
  }

  private void activate(DashboardDto dashboardDto, int index) {
    LOG.info("Register dashboard: " + dashboardDto.getName());
    ActiveDashboardDto activeDashboardDto = new ActiveDashboardDto()
      .setDashboardId(dashboardDto.getId())
      .setOrderIndex(index);
    activeDashboardDao.insert(activeDashboardDto);
  }
View Full Code Here


  private BaseMatcher<ActiveDashboardDto> matchActiveDashboardDto(final long dashboardId, final int orderId) {
    return new ArgumentMatcher<ActiveDashboardDto>() {
      @Override
      public boolean matches(Object o) {
        ActiveDashboardDto dto = (ActiveDashboardDto) o;
        return dto.getDashboardId() == dashboardId && dto.getOrderIndex() == orderId;
      }
    };
  }
View Full Code Here

TOP

Related Classes of org.sonar.core.dashboard.ActiveDashboardDto

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.