| Modifier and Type | Method and Description | 
|---|---|
static void | 
AlertResourceProviderUtils.verifyViewAuthorization(AlertHistoryEntity entity)
Tests if the authenticated user is authorized to view service- or cluster-level alert data. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AlertHistoryEntity | 
AlertStateChangeEvent.getNewHistoricalEntry()
Gets the newly created item in alert history. 
 | 
AlertHistoryEntity | 
InitialAlertEvent.getNewHistoricalEntry()
Gets the newly created item in alert history. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
AlertHistoryEntity | 
AlertsDAO.findById(long alertId)
Gets an alert with the specified ID. 
 | 
AlertHistoryEntity | 
AlertsDAO.merge(AlertHistoryEntity alert)
Merge the speicified alert with the existing alert in the database. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
List<AlertHistoryEntity> | 
AlertsDAO.findAll()
Gets all alerts stored in the database across all clusters. 
 | 
List<AlertHistoryEntity> | 
AlertsDAO.findAll(AlertHistoryRequest request)
Finds all  
AlertHistoryEntity that match the provided
 AlertHistoryRequest. | 
List<AlertHistoryEntity> | 
AlertsDAO.findAll(long clusterId)
Gets all alerts stored in the database for the given cluster. 
 | 
List<AlertHistoryEntity> | 
AlertsDAO.findAll(long clusterId,
       Date startDate,
       Date endDate)
Gets all alerts stored in the database for the given cluster and that fall
 withing the specified date range. 
 | 
List<AlertHistoryEntity> | 
AlertsDAO.findAll(long clusterId,
       List<AlertState> alertStates)
Gets all alerts stored in the database for the given cluster that have one
 of the specified alert states. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AlertsDAO.create(AlertHistoryEntity alert)
Persists a new alert. 
 | 
AlertHistoryEntity | 
AlertsDAO.merge(AlertHistoryEntity alert)
Merge the speicified alert with the existing alert in the database. 
 | 
void | 
AlertsDAO.refresh(AlertHistoryEntity alert)
Refresh the state of the alert from the database. 
 | 
void | 
AlertsDAO.remove(AlertHistoryEntity alert)
Removes the specified alert from the database. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,AlertDefinitionEntity> | 
AlertHistoryEntity_.alertDefinition  | 
static javax.persistence.metamodel.SingularAttribute<AlertCurrentEntity,AlertHistoryEntity> | 
AlertCurrentEntity_.alertHistory  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,Long> | 
AlertHistoryEntity_.alertId  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,String> | 
AlertHistoryEntity_.alertInstance  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,String> | 
AlertHistoryEntity_.alertLabel  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,AlertState> | 
AlertHistoryEntity_.alertState  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,String> | 
AlertHistoryEntity_.alertText  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,Long> | 
AlertHistoryEntity_.alertTimestamp  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,Long> | 
AlertHistoryEntity_.clusterId  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,String> | 
AlertHistoryEntity_.componentName  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,String> | 
AlertHistoryEntity_.hostName  | 
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,String> | 
AlertHistoryEntity_.serviceName  | 
| Modifier and Type | Method and Description | 
|---|---|
AlertHistoryEntity | 
AlertNoticeEntity.getAlertHistory()
Gets the associated alert history entry for this alert notice. 
 | 
AlertHistoryEntity | 
AlertCurrentEntity.getAlertHistory()
Gets the associated  
AlertHistoryEntity entry for this current alert
 instance. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
AlertNoticeEntity.setAlertHistory(AlertHistoryEntity alertHistory)
Sets the associated alert history entry for this alert notice. 
 | 
void | 
AlertCurrentEntity.setAlertHistory(AlertHistoryEntity alertHistory)
Sets the associated  
AlertHistoryEntity entry for this current alert
 instance. | 
| Modifier and Type | Method and Description | 
|---|---|
List<AlertHistoryEntity> | 
AlertNoticeDispatchService.AlertSummaryInfo.getAlerts()
Gets all of the alerts in the  
Notification. | 
List<AlertHistoryEntity> | 
AlertNoticeDispatchService.AlertSummaryInfo.getAlerts(String serviceName)
Gets all of the alerts in the  
Notification by service name. | 
List<AlertHistoryEntity> | 
AlertNoticeDispatchService.AlertSummaryInfo.getAlerts(String serviceName,
         String alertState)
Gets all of the alerts for a given service and alert state level. 
 | 
| Constructor and Description | 
|---|
AlertInfo(AlertHistoryEntity history)
Constructor. 
 | 
| Constructor and Description | 
|---|
AlertSummaryInfo(List<AlertHistoryEntity> histories)
Constructor. 
 | 
Copyright © 2022 Apache Software Foundation. All rights reserved.