public class DefaultAlert extends Object implements InternalAlert
Constructor and Description |
---|
DefaultAlert() |
Modifier and Type | Method and Description |
---|---|
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) |
void |
setAlertUid(String alertUid) |
void |
setComponentDescription(String componentDescription) |
void |
setComponentUid(String componentUid) |
void |
setConfig(Map<String,String> properties) |
void |
setDescription(String description) |
void |
setGroupUid(String groupUid) |
void |
setName(String name) |
void |
setProperties(Map<String,String> properties) |
void |
setSeverity(AlertSeverity severity) |
void |
setStatus(AlertStatus status) |
void |
setTimestamp(long timestamp) |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
public DefaultAlert()
AlertFactory
public String getName()
public void setName(String name)
public String getDescription()
getDescription
in interface Alert
public void setDescription(String description)
public long getTimestamp()
getTimestamp
in interface Alert
public void setTimestamp(long timestamp)
public AlertSeverity getSeverity()
getSeverity
in interface Alert
public void setSeverity(AlertSeverity severity)
public AlertStatus getStatus()
public void setStatus(AlertStatus status)
public String getAlertUid()
getAlertUid
in interface Alert
public void setAlertUid(String alertUid)
setAlertUid
in interface InternalAlert
public String getGroupUid()
getGroupUid
in interface Alert
public void setGroupUid(String groupUid)
public String getComponentUid()
getComponentUid
in interface Alert
public void setComponentUid(String componentUid)
public String getComponentDescription()
Alert
getComponentDescription
in interface Alert
Alert.getComponentUid()
.public void setComponentDescription(String componentDescription)
public Map<String,String> getProperties()
getProperties
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.