Modifier and Type | Method and Description |
---|---|
AlertState |
Threshold.state(double value) |
Modifier and Type | Method and Description |
---|---|
protected Alert |
AlertRunnable.buildAlert(Cluster cluster,
AlertDefinitionEntity myDefinition,
AlertState alertState,
String message)
Builds an
Alert instance. |
Modifier and Type | Method and Description |
---|---|
static void |
AlertSummaryGroupedRenderer.updateSummary(Map<String,AlertSummaryGroupedRenderer.AlertDefinitionSummary> summaries,
Long definitionId,
String definitionName,
AlertState state,
Long originalTimestampObject,
MaintenanceState maintenanceState,
String alertText) |
Modifier and Type | Method and Description |
---|---|
AlertState |
AlertStateChangeEvent.getFromState()
Gets the prior state of the alert.
|
Constructor and Description |
---|
AlertStateChangeEvent(long clusterId,
Alert alert,
AlertCurrentEntity currentAlert,
AlertState fromState,
AlertFirmness fromFirmness)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
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 | Field and Description |
---|---|
static javax.persistence.metamodel.SingularAttribute<AlertHistoryEntity,AlertState> |
AlertHistoryEntity_.alertState |
Modifier and Type | Method and Description |
---|---|
AlertState |
AlertHistoryEntity.getAlertState()
Gets the state of this alert instance.
|
Modifier and Type | Method and Description |
---|---|
Set<AlertState> |
AlertTargetEntity.getAlertStates()
Gets the alert states that will cause a triggered alert to be sent to this
target.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertHistoryEntity.setAlertState(AlertState alertState)
Sets the state of this alert instance.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertTargetEntity.setAlertStates(Set<AlertState> alertStates)
Sets the alert states that will cause a triggered alert to be sent to this
target.
|
Modifier and Type | Field and Description |
---|---|
static Set<AlertState> |
AlertState.RECALCULATE_AGGREGATE_ALERT_STATES |
Modifier and Type | Method and Description |
---|---|
AlertState |
Alert.getState() |
static AlertState |
AlertState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertState[] |
AlertState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Alert.setState(AlertState state) |
Constructor and Description |
---|
Alert(String alertName,
String alertInstance,
String serviceName,
String componentName,
String hostName,
AlertState alertState)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
AlertState |
ParameterizedSource.AlertParameter.getThreshold()
Gets the threshold that this parameter directly controls, or
null
for none. |
AlertState |
Reporting.state(double value) |
Modifier and Type | Method and Description |
---|---|
AlertState |
AlertNoticeDispatchService.AlertInfo.getAlertState()
Gets the state of the alert.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.