public abstract class Alert extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
ALERT_UUID_PREFIX |
Constructor and Description |
---|
Alert(String username,
AlertDeliverySpec deliverySpec,
boolean enabled,
AlertType type) |
Alert(String uuid,
String username,
AlertDeliverySpec deliverySpec,
boolean enabled,
AlertType type) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
AlertDeliverySpec |
getDeliverySpec()
Get the delivery spec.
|
abstract String |
getEntityUuid()
Get the entity's uuid.
|
AlertType |
getType()
Get the alert type
|
String |
getUsername()
Get the username.
|
String |
getUuid()
Get the uuid.
|
int |
hashCode() |
boolean |
isEnabled()
Set whether the alert is enabled.
|
public static final String ALERT_UUID_PREFIX
public Alert(String username, AlertDeliverySpec deliverySpec, boolean enabled, AlertType type)
public Alert(String uuid, String username, AlertDeliverySpec deliverySpec, boolean enabled, AlertType type)
public AlertDeliverySpec getDeliverySpec()
AlertDeliverySpec
delivery specpublic boolean isEnabled()
public AlertType getType()
public String getUuid()
public abstract String getEntityUuid()
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.