Constructor and Description |
---|
AlertGroupUpdate(AlertGroupEntity alertGroupEntity) |
Modifier and Type | Method and Description |
---|---|
static boolean |
AlertResourceProviderUtils.hasViewAuthorization(AlertGroupEntity entity,
Long clusterResourceId)
Tests if the authenticated user is authorized to view the requested alert data
|
static void |
AlertResourceProviderUtils.verifyManageAuthorization(AlertGroupEntity entity,
Long clusterResourceId)
Tests if the authenticated user is authorized to manage service- or cluster-level alert data.
|
static void |
AlertResourceProviderUtils.verifyViewAuthorization(AlertGroupEntity entity,
Long clusterResourceId)
Tests if the authenticated user is authorized to view service- or cluster-level alert data.
|
Modifier and Type | Method and Description |
---|---|
AlertGroupEntity |
AlertDispatchDAO.createDefaultGroup(long clusterId,
String serviceName)
Creates a default group in the specified cluster and service.
|
AlertGroupEntity |
AlertDispatchDAO.findDefaultServiceGroup(long clusterId,
String serviceName)
Gets the default group for the specified cluster and service.
|
AlertGroupEntity |
AlertDispatchDAO.findGroupById(long groupId)
Gets an alert group with the specified ID.
|
AlertGroupEntity |
AlertDispatchDAO.findGroupByName(long clusterId,
String groupName)
Gets an alert group with the specified name for the given cluster.
|
AlertGroupEntity |
AlertDispatchDAO.merge(AlertGroupEntity alertGroup)
Merge the speicified alert group with the existing group in the database.
|
Modifier and Type | Method and Description |
---|---|
List<AlertGroupEntity> |
AlertDispatchDAO.findAllGroups()
Gets all alert groups stored in the database across all clusters.
|
List<AlertGroupEntity> |
AlertDispatchDAO.findAllGroups(long clusterId)
Gets all alert groups stored in the database for the specified cluster.
|
List<AlertGroupEntity> |
AlertDispatchDAO.findGroupsByDefinition(AlertDefinitionEntity definitionEntity)
Gets all of the
AlertGroupEntity instances that include the
specified alert definition. |
List<AlertGroupEntity> |
AlertDispatchDAO.findGroupsById(List<Long> groupIds)
Gets all of the alert groups for the list of IDs given.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertDispatchDAO.create(AlertGroupEntity group)
Persists a new alert group.
|
void |
AlertDispatchDAO.create(AlertGroupEntity group,
boolean fireEvent)
Persists a new alert group.
|
AlertGroupEntity |
AlertDispatchDAO.merge(AlertGroupEntity alertGroup)
Merge the speicified alert group with the existing group in the database.
|
void |
AlertDispatchDAO.refresh(AlertGroupEntity alertGroup)
Refresh the state of the alert group from the database.
|
void |
AlertDispatchDAO.remove(AlertGroupEntity alertGroup)
Removes the specified alert group from the database.
|
void |
AlertDispatchDAO.remove(AlertGroupEntity alertGroup,
boolean fireEvent)
Removes the specified alert group from the database.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertDispatchDAO.createGroups(List<AlertGroupEntity> entities)
Persists new alert groups.
|
Modifier and Type | Field and Description |
---|---|
static javax.persistence.metamodel.SetAttribute<AlertDefinitionEntity,AlertGroupEntity> |
AlertDefinitionEntity_.alertGroups |
static javax.persistence.metamodel.SetAttribute<AlertTargetEntity,AlertGroupEntity> |
AlertTargetEntity_.alertGroups |
Modifier and Type | Method and Description |
---|---|
Set<AlertGroupEntity> |
AlertTargetEntity.getAlertGroups()
Gets an immutable set of the alert groups that this target is associated
with.
|
Set<AlertGroupEntity> |
AlertDefinitionEntity.getAlertGroups()
Gets the alert groups that this alert definition is associated with.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AlertTargetEntity.addAlertGroup(AlertGroupEntity alertGroup)
Adds the specified alert group to the groups that this target is associated
with.
|
protected void |
AlertDefinitionEntity.addAlertGroup(AlertGroupEntity alertGroup)
Adds the specified alert group to the groups that this definition is
associated with.
|
protected void |
AlertTargetEntity.removeAlertGroup(AlertGroupEntity alertGroup)
Removes the specified alert group to the groups that this target is
associated with.
|
protected void |
AlertDefinitionEntity.removeAlertGroup(AlertGroupEntity alertGroup)
Removes the specified alert group to the groups that this definition is
associated with.
|
Modifier and Type | Method and Description |
---|---|
void |
AlertTargetEntity.setAlertGroups(Set<AlertGroupEntity> alertGroups)
Sets all of the groups that are associated with this target.
|
void |
AlertDefinitionEntity.setAlertGroups(Set<AlertGroupEntity> alertGroups)
Sets the alert groups that this alert definition is associated with.
|
Copyright © 2022 Apache Software Foundation. All rights reserved.