net.sourceforge.cruisecontrol.jmx
Class CruiseControlControllerJMXAdaptor
java.lang.Object
javax.management.NotificationBroadcasterSupport
net.sourceforge.cruisecontrol.jmx.CruiseControlControllerJMXAdaptor
- All Implemented Interfaces:
- CruiseControlController.Listener, CruiseControlControllerJMXAdaptorMBean, CruiseControlMBean, java.util.EventListener, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter
- public class CruiseControlControllerJMXAdaptor
- extends javax.management.NotificationBroadcasterSupport
- implements CruiseControlControllerJMXAdaptorMBean, CruiseControlController.Listener
- Author:
- Robert Watkins
| Methods inherited from class javax.management.NotificationBroadcasterSupport |
addNotificationListener, getNotificationInfo, handleNotification, removeNotificationListener, removeNotificationListener, sendNotification |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CruiseControlControllerJMXAdaptor
public CruiseControlControllerJMXAdaptor(CruiseControlController controlController)
getVersionProperties
public java.util.Properties getVersionProperties()
- Specified by:
getVersionProperties in interface CruiseControlMBean
getConfigFileName
public java.lang.String getConfigFileName()
- Specified by:
getConfigFileName in interface CruiseControlMBean
getConfigFileContents
public java.lang.String getConfigFileContents()
- Specified by:
getConfigFileContents in interface CruiseControlMBean
setConfigFileContents
public void setConfigFileContents(java.lang.String contents)
throws CruiseControlException
- Specified by:
setConfigFileContents in interface CruiseControlMBean
- Throws:
CruiseControlException
validateConfig
public void validateConfig(java.lang.String contents)
throws CruiseControlException
- Throws:
CruiseControlException
setConfigFileName
public void setConfigFileName(java.lang.String fileName)
throws javax.management.InvalidAttributeValueException
- Specified by:
setConfigFileName in interface CruiseControlMBean
- Throws:
javax.management.InvalidAttributeValueException
getProjects
public java.util.List getProjects()
- Specified by:
getProjects in interface CruiseControlMBean
getBusyTasks
public java.util.List getBusyTasks()
getIdleTasks
public java.util.List getIdleTasks()
getAvailableBootstrappers
public PluginDetail[] getAvailableBootstrappers()
- Specified by:
getAvailableBootstrappers in interface CruiseControlMBean
getAvailablePublishers
public PluginDetail[] getAvailablePublishers()
- Specified by:
getAvailablePublishers in interface CruiseControlMBean
getAvailableSourceControls
public PluginDetail[] getAvailableSourceControls()
- Specified by:
getAvailableSourceControls in interface CruiseControlMBean
getAvailablePlugins
public PluginDetail[] getAvailablePlugins()
- Specified by:
getAvailablePlugins in interface CruiseControlMBean
getAvailablePluginTypes
public PluginType[] getAvailablePluginTypes()
- Specified by:
getAvailablePluginTypes in interface CruiseControlMBean
getPluginRegistry
public PluginRegistry getPluginRegistry()
- Specified by:
getPluginRegistry in interface CruiseControlMBean
resume
public void resume()
- Specified by:
resume in interface CruiseControlMBean
pause
public void pause()
- Specified by:
pause in interface CruiseControlMBean
reloadConfigFile
public void reloadConfigFile()
- Specified by:
reloadConfigFile in interface CruiseControlMBean
getBuildQueueStatus
public java.lang.String getBuildQueueStatus()
- Specified by:
getBuildQueueStatus in interface CruiseControlMBean
halt
public void halt()
- Specified by:
halt in interface CruiseControlMBean
register
public void register(javax.management.MBeanServer server)
throws javax.management.JMException
- Throws:
javax.management.JMException
projectAdded
public void projectAdded(ProjectInterface project)
- Specified by:
projectAdded in interface CruiseControlController.Listener
projectRemoved
public void projectRemoved(ProjectInterface project)
- Specified by:
projectRemoved in interface CruiseControlController.Listener
getAllProjectsStatus
public java.util.Map getAllProjectsStatus()
- Specified by:
getAllProjectsStatus in interface CruiseControlMBean