public class AlertDefinitionChangedEvent extends ClusterEvent
AlertDefinitionChangedEvent is used to represent that an
AlertDefinition has been changed.AmbariEvent.AmbariEventTypem_clusterIdm_eventType| Constructor and Description |
|---|
AlertDefinitionChangedEvent(long clusterId,
AlertDefinition definition)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AlertDefinition |
getDefinition()
Get the registered alert definition.
|
getClusterIdgetType, toStringpublic 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.