コード例 #1
0
 private void handleDashboard(Element dashboardElement) throws CruiseControlException {
   DashboardConfigurationPlugin dashboard =
       (DashboardConfigurationPlugin)
           new ProjectXMLHelper(rootProperties, getRootPlugins())
               .configurePlugin(dashboardElement, FAIL_UPON_MISSING_PROPERTY);
   dashboard.setController(controller);
   dashboard.validate();
   dashboard.startPostingToDashboard();
 }