Class MonitoredElements
java.lang.Object
org.odpi.openmetadata.adapters.connectors.governanceactions.notifications.MonitoredElements
Manage the list of monitored elements and support queries.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddMonitoredElement(ElementHeader monitoredElement) Add a new element to the map.booleanisMonitored(ElementHeader potentialElement) Is this one of the monitored elements?voidremoveMonitoredElement(ElementHeader monitoredElement) Remove a element from the map.voidsetMonitoredElements(List<OpenMetadataRootElement> initialResources) Set up the monitored elements.
-
Constructor Details
-
MonitoredElements
public MonitoredElements()
-
-
Method Details
-
setMonitoredElements
Set up the monitored elements.- Parameters:
initialResources- list of elements for the notification type.
-
addMonitoredElement
Add a new element to the map.- Parameters:
monitoredElement- new resource
-
removeMonitoredElement
Remove a element from the map.- Parameters:
monitoredElement- old resource
-
isMonitored
Is this one of the monitored elements?- Parameters:
potentialElement- resource header- Returns:
- boolean - true for monitored element
-