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