Class StatusData

java.lang.Object
de.elo.utils.webapp.status.StatusData

public class StatusData
extends java.lang.Object
This class holds the data that have to be printed on the status page. The status page can display the following kinds of information:
TitelProgram name
Menu actionsOne row of HTML links for arbitary requests
Application stateRUNNING, INITIALIZING or STOPPED
List of warnings, errors, fatal errorsThis lists can hold up to 5 messages.
Application dependent status values (properties)E.g. "number of processed documents". StatusData provides functions to generate commonly used values (like version, server time, log-level, ...). A status value row in the table can contain an optional action element. E.g. the log-level value uses a combobox.
List of information messagesThis list can be up to 5 messages long and should be used to show informational messages like "Retry to connect to database" during the startup phase.

The class StatusPageHtml can be used to print the status data on an HTML page. In order to provide the data in text format, the class StatusPageText is to be used. In text format, only properties with an ID are printed.

Example for a status page with an error message:

Example for a status page with an information massage:

See Also:
StatusPageServletExample