public abstract class GovernanceActionEngine extends Object
| Constructor and Description |
|---|
GovernanceActionEngine() |
| Modifier and Type | Method and Description |
|---|---|
abstract GovernanceActionStatus |
getGovernanceActionStatus(String userId,
String governanceActionGUID)
Request the status of an executing governance action request.
|
abstract String |
initiateGovernanceAction(String userId,
String qualifiedName,
int domainIdentifier,
String displayName,
String description,
List<String> requestSourceGUIDs,
List<String> actionTargetGUIDs,
Date startTime,
String requestType,
Map<String,String> requestParameters)
Create a governance action in the metadata store which will trigger the governance action service
associated with the supplied request type.
|
public abstract String initiateGovernanceAction(String userId, String qualifiedName, int domainIdentifier, String displayName, String description, List<String> requestSourceGUIDs, List<String> actionTargetGUIDs, Date startTime, String requestType, Map<String,String> requestParameters) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - calling userqualifiedName - unique identifier to give this governance actiondomainIdentifier - governance domain associated with this action (0=ALL)displayName - display name for this actiondescription - description for this actionrequestSourceGUIDs - request source elements for the resulting governance action serviceactionTargetGUIDs - list of action targets for the resulting governance action servicestartTime - future start time or null for "as soon as possible".requestType - request type to identify the governance action service to runrequestParameters - properties to pass to the governance action serviceInvalidParameterException - null qualified nameUserNotAuthorizedException - this governance action service is not authorized to create a governance actionPropertyServerException - there is a problem with the metadata storepublic abstract GovernanceActionStatus getGovernanceActionStatus(String userId, String governanceActionGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling usergovernanceActionGUID - identifier of the governance action request.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - there was a problem detected by the metadata store.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.