Class AlertsRuleEvaluator
- java.lang.Object
-
- org.openmetadata.service.events.subscription.AlertsRuleEvaluator
-
public class AlertsRuleEvaluator extends Object
-
-
Constructor Summary
Constructors Constructor Description AlertsRuleEvaluator(ChangeEvent event)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EntityInterfacegetEntity(ChangeEvent event)booleanmatchAnyEntityFqn(String... entityNames)booleanmatchAnyEntityId(String... entityIds)booleanmatchAnyEventType(String... eventTypesList)booleanmatchAnyFieldChange(String... fieldChangeUpdate)booleanmatchAnyOwnerName(String... ownerNameList)booleanmatchAnySource(String... originEntities)booleanmatchIngestionPipelineState(String... pipelineState)booleanmatchTestResult(String... testResults)booleanmatchUpdatedBy(String... updatedByUserList)
-
-
-
Constructor Detail
-
AlertsRuleEvaluator
public AlertsRuleEvaluator(ChangeEvent event)
-
-
Method Detail
-
matchAnySource
public boolean matchAnySource(String... originEntities)
-
matchAnyOwnerName
public boolean matchAnyOwnerName(String... ownerNameList)
-
matchAnyEntityFqn
public boolean matchAnyEntityFqn(String... entityNames) throws IOException
- Throws:
IOException
-
matchAnyEntityId
public boolean matchAnyEntityId(String... entityIds) throws IOException
- Throws:
IOException
-
matchAnyEventType
public boolean matchAnyEventType(String... eventTypesList)
-
matchTestResult
public boolean matchTestResult(String... testResults)
-
matchUpdatedBy
public boolean matchUpdatedBy(String... updatedByUserList)
-
matchIngestionPipelineState
public boolean matchIngestionPipelineState(String... pipelineState)
-
matchAnyFieldChange
public boolean matchAnyFieldChange(String... fieldChangeUpdate)
-
getEntity
public static EntityInterface getEntity(ChangeEvent event)
-
-