public class AlertDefinitionDeleteEvent extends ClusterEvent
AlertDefinitionDeleteEvent
is used to represent that an
AlertDefinition
has been removed from the system.AmbariEvent.AmbariEventType
m_clusterId
m_eventType
Constructor and Description |
---|
AlertDefinitionDeleteEvent(long clusterId,
AlertDefinition definition)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AlertDefinition |
getDefinition()
Get the registered alert definition.
|
getClusterId
getType, toString
public AlertDefinitionDeleteEvent(long clusterId, AlertDefinition definition)
clusterId
- the ID of the cluster that the definition is in.definition
- the alert definition being registered.public AlertDefinition getDefinition()
null
).Copyright © 2022 Apache Software Foundation. All rights reserved.