public class StatisticsContainer extends DocumentBase implements SourceListener, AlarmCategoryListener
| Modifier and Type | Class and Description |
|---|---|
class |
StatisticsContainer.AlarmStat
The items shown in the table
|
colNames, containerTitle, shutdown, tableViewer| Modifier and Type | Method and Description |
|---|---|
void |
faultStateReceived(FaultState faultState)
An alarm has been received from the source NC.
|
static StatisticsContainer |
getInstance() |
java.util.Collection<?> |
getNumbers() |
void |
onAlarm(Alarm alarm)
Called on alarm change arrival.
|
void |
setTableContent(TableData tData)
Add the text of the cells of the table
|
void |
sourceXMLMsgReceived(java.lang.String asiMessage)
An XML has been received from the source NC.
|
getDataToSave, run, setTableViewer, shutdownContainerpublic static StatisticsContainer getInstance()
public java.util.Collection<?> getNumbers()
getNumbers in class DocumentBasepublic void onAlarm(Alarm alarm)
AlarmCategoryListeneronAlarm in interface AlarmCategoryListeneralarm - The alarmpublic void faultStateReceived(FaultState faultState)
SourceListenerfaultStateReceived in interface SourceListenerpublic void sourceXMLMsgReceived(java.lang.String asiMessage)
SourceListenerThe XML follows the ASIMessage.xsd schema definition and therefore it might have one or more fault states.
sourceXMLMsgReceived in interface SourceListenerasiMessage - The ASIMessage received from an alarm sourcepublic void setTableContent(TableData tData)
DocumentBasesetTableContent in class DocumentBasetData - The table data to set the string of the rows