Package | Description |
---|---|
org.apache.ambari.server.orm.dao | |
org.apache.ambari.server.orm.entities | |
org.apache.ambari.server.state.alert | |
org.apache.ambari.server.state.services |
Modifier and Type | Method and Description |
---|---|
AlertTargetEntity |
AlertDispatchDAO.findTargetById(long targetId)
Gets an alert target with the specified ID.
|
AlertTargetEntity |
AlertDispatchDAO.findTargetByName(String targetName)
Gets an alert target with the specified name.
|
AlertTargetEntity |
AlertDispatchDAO.merge(AlertTargetEntity alertTarget)
Merge the speicified alert target with the existing target in the database.
|
Modifier and Type | Method and Description |
---|---|
List<AlertTargetEntity> |
AlertDispatchDAO.findAllGlobalTargets()
Gets all global alert targets stored in the database.
|
List<AlertTargetEntity> |
AlertDispatchDAO.findAllTargets()
Gets all alert targets stored in the database.
|
List<AlertTargetEntity> |
AlertDispatchDAO.findTargetsById(List<Long> targetIds)
Gets all of the alert targets for the list of IDs given.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertDispatchDAO.create(AlertTargetEntity alertTarget)
Persists a new alert target.
|
AlertTargetEntity |
AlertDispatchDAO.merge(AlertTargetEntity alertTarget)
Merge the speicified alert target with the existing target in the database.
|
void |
AlertDispatchDAO.refresh(AlertTargetEntity alertTarget)
Refresh the state of the alert target from the database.
|
void |
AlertDispatchDAO.remove(AlertTargetEntity alertTarget)
Removes the specified alert target from the database.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertDispatchDAO.createTargets(List<AlertTargetEntity> entities)
Persists new alert targets.
|
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SetAttribute<AlertTargetEntity,AlertGroupEntity> |
AlertTargetEntity_.alertGroups |
static javax.persistence.metamodel.SingularAttribute<AlertNoticeEntity,AlertTargetEntity> |
AlertNoticeEntity_.alertTarget |
static javax.persistence.metamodel.SingularAttribute<AlertTargetEntity,String> |
AlertTargetEntity_.description |
static javax.persistence.metamodel.SingularAttribute<AlertTargetEntity,Short> |
AlertTargetEntity_.isEnabled |
static javax.persistence.metamodel.SingularAttribute<AlertTargetEntity,Short> |
AlertTargetEntity_.isGlobal |
static javax.persistence.metamodel.SingularAttribute<AlertTargetEntity,String> |
AlertTargetEntity_.notificationType |
static javax.persistence.metamodel.SingularAttribute<AlertTargetEntity,String> |
AlertTargetEntity_.properties |
static javax.persistence.metamodel.SingularAttribute<AlertTargetEntity,Long> |
AlertTargetEntity_.targetId |
static javax.persistence.metamodel.SingularAttribute<AlertTargetEntity,String> |
AlertTargetEntity_.targetName |
Modifier and Type | Method and Description |
---|---|
AlertTargetEntity |
AlertNoticeEntity.getAlertTarget()
Gets the intended audience for the notification.
|
Modifier and Type | Method and Description |
---|---|
Set<AlertTargetEntity> |
AlertGroupEntity.getAlertTargets()
Gets an immutable set of the targets that will receive notifications for
alert definitions in this group.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertGroupEntity.addAlertTarget(AlertTargetEntity alertTarget)
Adds the specified target to the targets that this group will dispatch to.
|
void |
AlertGroupEntity.removeAlertTarget(AlertTargetEntity alertTarget)
Removes the specified target from the targets that this group will dispatch
to.
|
void |
AlertNoticeEntity.setAlertTarget(AlertTargetEntity alertTarget)
Sets the intended audience for the notification.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertGroupEntity.setAlertTargets(Set<AlertTargetEntity> alertTargets)
Sets all of the targets that will receive notifications for alert
definitions in this group.
|
Modifier and Type | Method and Description |
---|---|
static AlertTarget |
AlertTarget.coerce(AlertTargetEntity entity) |
Constructor and Description |
---|
DispatchInfo(AlertTargetEntity target)
Constructor.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.