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 TypeMethodDescriptionvoid
addMonitoredElement
(ElementHeader monitoredElement) Add a new element to the map.boolean
isMonitored
(ElementHeader potentialElement) Is this one of the monitored elements?void
removeMonitoredElement
(ElementHeader monitoredElement) Remove a element from the map.void
setMonitoredElements
(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
-