Package org.pentaho.platform.api.engine
Class ServerStatusProvider
- java.lang.Object
-
- org.pentaho.platform.api.engine.ServerStatusProvider
-
- All Implemented Interfaces:
IServerStatusProvider
public class ServerStatusProvider extends Object implements 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
Constructors Constructor Description ServerStatusProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IServerStatusProvider.ServerStatus
getStatus()
String[]
getStatusMessages()
void
registerServerStatusChangeListener(IServerStatusChangeListener serverStatusChangeListener)
void
removeServerStatusChangeListener(IServerStatusChangeListener serverStatusChangeListener)
void
setStatus(IServerStatusProvider.ServerStatus serverStatus)
void
setStatusMessages(String[] messages)
-
-
-
Method Detail
-
getStatus
public IServerStatusProvider.ServerStatus getStatus()
- Specified by:
getStatus
in interfaceIServerStatusProvider
-
getStatusMessages
public String[] getStatusMessages()
- Specified by:
getStatusMessages
in interfaceIServerStatusProvider
-
setStatus
public void setStatus(IServerStatusProvider.ServerStatus serverStatus)
- 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
public void setStatusMessages(String[] messages)
- Specified by:
setStatusMessages
in interfaceIServerStatusProvider
-
-