public final class Alert extends Object implements Serializable
| Constructor and Description |
|---|
Alert(String alertId,
String description)
Base constructor for all Alerts.
|
Alert(String alertId,
String description,
Map<String,Object> innerData)
Base constructor for all Alerts.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Object |
getAlertData(String key)
Get data contained in this Alert.
|
Set<String> |
getAlertDataNames()
Get the Set of names for the Alert data.
|
String |
getAlertId()
Get the Alert id
|
String |
getDescription()
Get the Alert description
|
int |
hashCode() |
String |
toString() |
public Alert(String alertId, String description)
alertId - The alertId for this Alert instance.description - The Alert descriptionpublic String getAlertId()
public String getDescription()
public Object getAlertData(String key)
key - The key with which this data was stored.public Set<String> getAlertDataNames()
Copyright © 2019 LSST. All rights reserved.