public class GovernanceListenerManager extends Object
| Constructor and Description |
|---|
GovernanceListenerManager(AuditLog auditLog,
String governanceEngineName)
Create a governance listener manager for watchdog listeners.
|
| Modifier and Type | Method and Description |
|---|---|
void |
processEvent(WatchdogGovernanceEvent event)
Process a watchdog event that was published by the Governance Engine OMAS.
|
void |
removeListener(String connectorId)
Remove the listener for a specific governance service because this service has been disconnected.
|
public void processEvent(WatchdogGovernanceEvent event) throws InvalidParameterException
event - event object - call getEventType to find out what type of event.InvalidParameterException - the event is incompletepublic void removeListener(String connectorId)
connectorId - unique id of governance service instanceCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.