public abstract class GenericWatchdogGovernanceActionConnector extends WatchdogGovernanceActionService
ConnectorBase.ProtectedConnectiongovernanceContextauditLog, governanceServiceNameconnectedAssetProperties, connectionBean, connectionProperties, connectorInstanceId, securedProperties| Constructor and Description |
|---|
GenericWatchdogGovernanceActionConnector() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
diffProperties(ElementProperties oldProperties,
ElementProperties newProperties)
Return a comma separated list of properties that have changed.
|
void |
disconnect()
Disconnect is called either because this governance action service called governanceContext.recordCompletionStatus()
or the administer requested this governance action service stop running or the hosting server is shutting down.
|
protected void |
initiateProcess(String processName,
Map<String,String> requestParameters,
List<NewActionTarget> actionTargets)
Initiates the request for the new process to start if a process name has been configured.
|
setGovernanceContext, starthandleUnexpectedException, setAuditLog, setGovernanceServiceName, validateContextequals, getConnectedAssetProperties, getConnection, getConnectorInstanceId, hashCode, initialize, initializeConnectedAssetProperties, isActive, toStringpublic GenericWatchdogGovernanceActionConnector()
protected String diffProperties(ElementProperties oldProperties, ElementProperties newProperties)
oldProperties - original property valuesnewProperties - new property valuesprotected void initiateProcess(String processName, Map<String,String> requestParameters, List<NewActionTarget> actionTargets) throws GovernanceServiceException
processName - name of the process to startrequestParameters - parameters to pass to the processactionTargets - the elements that this process should work onGovernanceServiceException - unable to start the processpublic void disconnect()
throws ConnectorCheckedException
disconnect in class WatchdogGovernanceActionServiceConnectorCheckedException - there is a problem within the governance action service.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.