public class AlertDefinitionDisabledEvent extends ClusterEvent
AlertDefinitionDisabledEvent
is used to represent that an
AlertDefinition
has been disabled.AmbariEvent.AmbariEventType
m_clusterId
m_eventType
Constructor and Description |
---|
AlertDefinitionDisabledEvent(long clusterId,
long definitionId,
String definitionName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
long |
getDefinitionId()
Gets the definition ID.
|
String |
getDefinitionName()
Gets the definition name.
|
getClusterId
getType, toString
public AlertDefinitionDisabledEvent(long clusterId, long definitionId, String definitionName)
clusterId
- the ID of the cluster that the definition is in.definitionId
- the alert definition being registered.public long getDefinitionId()
public String getDefinitionName()
Copyright © 2022 Apache Software Foundation. All rights reserved.