public class AbstractAlert extends Object implements Alert
Alert API. Subclass to introduce a new
type of alert, with strongly typed getter methods over runtime properties specified by Alert.getProperties().| Constructor and Description |
|---|
AbstractAlert()
required by java.io.Externalizable
|
AbstractAlert(Alert alert) |
| Modifier and Type | Method and Description |
|---|---|
Alert |
getAlert()
The alert set upon construction
|
String |
getAlertUid() |
String |
getComponentDescription()
Description of the component: host - [Host IP] GSC - [GSC Name] on [Host
IP] LUS - LUS on [Host IP] GSM - GSM on [Host IP] PU instance -
[PU name] [Partition number] [Primary or backup] on [Host IP] Mirror - Mirror on
[Host IP] EDS - EDS on [Host IP]
|
String |
getComponentUid() |
Map<String,String> |
getConfig() |
String |
getDescription() |
String |
getGroupUid() |
String |
getName() |
Map<String,String> |
getProperties() |
AlertSeverity |
getSeverity() |
AlertStatus |
getStatus() |
long |
getTimestamp() |
void |
readExternal(ObjectInput in) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public AbstractAlert()
public AbstractAlert(Alert alert)
public Alert getAlert()
public String getAlertUid()
getAlertUid in interface Alertpublic String getComponentUid()
getComponentUid in interface Alertpublic String getComponentDescription()
AlertgetComponentDescription in interface AlertAlert.getComponentUid().public String getDescription()
getDescription in interface Alertpublic String getGroupUid()
getGroupUid in interface Alertpublic String getName()
public Map<String,String> getProperties()
getProperties in interface Alertpublic AlertSeverity getSeverity()
getSeverity in interface Alertpublic AlertStatus getStatus()
public long getTimestamp()
getTimestamp in interface Alertpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionCopyright © GigaSpaces.