Class AlertsRuleEvaluator

java.lang.Object
org.openmetadata.service.events.subscription.AlertsRuleEvaluator

public class AlertsRuleEvaluator extends Object
  • Constructor Details

    • AlertsRuleEvaluator

      public AlertsRuleEvaluator(ChangeEvent event)
  • Method Details

    • matchAnySource

      public boolean matchAnySource(List<String> originEntities)
    • matchAnyOwnerName

      public boolean matchAnyOwnerName(List<String> ownerNameList)
    • matchAnyEntityFqn

      public boolean matchAnyEntityFqn(List<String> entityNames)
    • matchAnyEntityId

      public boolean matchAnyEntityId(List<String> entityIds)
    • matchAnyEventType

      public boolean matchAnyEventType(List<String> eventTypesList)
    • matchTestResult

      public boolean matchTestResult(List<String> testResults)
    • filterByTableNameTestCaseBelongsTo

      public boolean filterByTableNameTestCaseBelongsTo(List<String> tableNameList)
    • getTestCaseStatusIfInTestSuite

      public boolean getTestCaseStatusIfInTestSuite(List<String> testResults, List<String> testSuiteList)
    • matchUpdatedBy

      public boolean matchUpdatedBy(List<String> updatedByUserList)
    • matchIngestionPipelineState

      public boolean matchIngestionPipelineState(List<String> pipelineState)
    • matchPipelineState

      public boolean matchPipelineState(List<String> pipelineState)
    • matchAnyFieldChange

      public boolean matchAnyFieldChange(List<String> fieldChangeUpdate)
    • matchAnyDomain

      public boolean matchAnyDomain(List<String> fieldChangeUpdate)
    • getEntity

      public static EntityInterface getEntity(ChangeEvent event)
    • matchConversationUser

      public boolean matchConversationUser(List<String> usersOrTeamName)
    • getThread

      public static Thread getThread(ChangeEvent event)