net.sourceforge.cruisecontrol.jmx
Class DashboardController

java.lang.Object
  extended bynet.sourceforge.cruisecontrol.jmx.DashboardController
All Implemented Interfaces:
DashboardControllerMBean

public class DashboardController
extends java.lang.Object
implements DashboardControllerMBean


Constructor Summary
DashboardController(CruiseControlController controller)
           
 
Method Summary
 BuildLoopPostingConfiguration getPostingConfiguration()
          Return configuration of the current posting.
 boolean isPostingToDashboardEnabled()
          Indicate whether build loop will post builds information to the dashboard.
 void startPostingToDashboard(java.lang.String dashboardUrl, int interval)
           
 void stopPostingToDashboard()
          Stops any postings to the dashboard.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DashboardController

public DashboardController(CruiseControlController controller)
Method Detail

stopPostingToDashboard

public void stopPostingToDashboard()
Stops any postings to the dashboard. If posting has not started, there will be no change.

Specified by:
stopPostingToDashboard in interface DashboardControllerMBean

startPostingToDashboard

public void startPostingToDashboard(java.lang.String dashboardUrl,
                                    int interval)
Specified by:
startPostingToDashboard in interface DashboardControllerMBean
Parameters:
dashboardUrl - Home page address of your dashboard
interval - The interval [in seconds] that build loop post builds information to the dashboard Starts posting to the dashboard with the new parameters. If build loop is currently posting, then the existing posting will be canceled first.

getPostingConfiguration

public BuildLoopPostingConfiguration getPostingConfiguration()
Return configuration of the current posting.

Specified by:
getPostingConfiguration in interface DashboardControllerMBean

isPostingToDashboardEnabled

public boolean isPostingToDashboardEnabled()
Indicate whether build loop will post builds information to the dashboard.

Specified by:
isPostingToDashboardEnabled in interface DashboardControllerMBean