Package org.pentaho.platform.api.engine
Class ServerStatusProvider
java.lang.Object
org.pentaho.platform.api.engine.ServerStatusProvider
- All Implemented Interfaces:
IServerStatusProvider
This is the default implementation of server status log message provider.
- Author:
- tkafalas
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.pentaho.platform.api.engine.IServerStatusProvider
IServerStatusProvider.Locator, IServerStatusProvider.ServerStatus
-
Field Summary
Fields inherited from interface org.pentaho.platform.api.engine.IServerStatusProvider
LOCATOR
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionString[]
void
registerServerStatusChangeListener
(IServerStatusChangeListener serverStatusChangeListener) void
removeServerStatusChangeListener
(IServerStatusChangeListener serverStatusChangeListener) void
setStatus
(IServerStatusProvider.ServerStatus serverStatus) void
setStatusMessages
(String[] messages)
-
Constructor Details
-
ServerStatusProvider
public ServerStatusProvider()
-
-
Method Details
-
getStatus
- Specified by:
getStatus
in interfaceIServerStatusProvider
-
getStatusMessages
- Specified by:
getStatusMessages
in interfaceIServerStatusProvider
-
setStatus
- Specified by:
setStatus
in interfaceIServerStatusProvider
-
registerServerStatusChangeListener
public void registerServerStatusChangeListener(IServerStatusChangeListener serverStatusChangeListener) - Specified by:
registerServerStatusChangeListener
in interfaceIServerStatusProvider
-
removeServerStatusChangeListener
public void removeServerStatusChangeListener(IServerStatusChangeListener serverStatusChangeListener) - Specified by:
removeServerStatusChangeListener
in interfaceIServerStatusProvider
-
setStatusMessages
- Specified by:
setStatusMessages
in interfaceIServerStatusProvider
-