public class GenericWatchdogListener extends WatchdogGovernanceListener
| Constructor and Description |
|---|
GenericWatchdogListener(GenericWatchdogGovernanceActionConnector connector)
Construct the listener that is registered with the GovernanceContext.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processEvent(WatchdogGovernanceEvent event)
This method is called each time a requested event is received from the open metadata repositories.
|
public GenericWatchdogListener(GenericWatchdogGovernanceActionConnector connector)
connector - connector to delegate all events topublic void processEvent(WatchdogGovernanceEvent event) throws GovernanceServiceException
processEvent in class WatchdogGovernanceListenerevent - event containing details of a change to an open metadata element.GovernanceServiceException - reports that the event can not be processed (this is logged but
no other action is taken). The listener will continue to be
called until the watchdog governance action service declares it is complete
or administrator action shuts down the service.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.