public class TestSystemReadyMonitor extends Object implements SystemReadyMonitor
SystemReadyMonitor implementation suitable for tests.
 The TestSystemReadyMonitor.Behaviour selects what it actually does.| Modifier and Type | Class and Description | 
|---|---|
| static class  | TestSystemReadyMonitor.Behaviour | 
| Constructor and Description | 
|---|
| TestSystemReadyMonitor(TestSystemReadyMonitor.Behaviour behaviour) | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getFailureCause()Obtain the cause of a  SystemState.FAILURE. | 
| SystemState | getSystemState()Obtain current system status as one of few possible enumerated values. | 
| void | registerListener(SystemReadyListener listener)Allows components to register a listener which will be notified when the
 system ready state is changing. | 
public TestSystemReadyMonitor(TestSystemReadyMonitor.Behaviour behaviour)
public void registerListener(SystemReadyListener listener)
SystemReadyMonitorregisterListener in interface SystemReadyMonitorpublic SystemState getSystemState()
SystemReadyMonitorMXBeangetSystemState in interface SystemReadyMonitorMXBeanpublic String getFailureCause()
SystemReadyMonitorMXBeanSystemState.FAILURE.getFailureCause in interface SystemReadyMonitorMXBeanCopyright © 2019 OpenDaylight. All rights reserved.