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 Alert
public String getComponentUid()
getComponentUid
in interface Alert
public String getComponentDescription()
Alert
getComponentDescription
in interface Alert
Alert.getComponentUid()
.public String getDescription()
getDescription
in interface Alert
public String getGroupUid()
getGroupUid
in interface Alert
public String getName()
public Map<String,String> getProperties()
getProperties
in interface Alert
public AlertSeverity getSeverity()
getSeverity
in interface Alert
public AlertStatus getStatus()
public long getTimestamp()
getTimestamp
in interface Alert
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
Copyright © GigaSpaces.