Class RepositoryGovernanceContext

java.lang.Object
org.odpi.openmetadata.engineservices.repositorygovernance.connector.RepositoryGovernanceContext
Direct Known Subclasses:
RepositoryGovernanceServiceContext

public abstract class RepositoryGovernanceContext extends Object
RepositoryGovernanceContext provides the archive service with access to information about the archive request along with the open metadata repository interfaces.
  • Field Details

    • userId

      protected String userId
    • requestType

      protected String requestType
    • requestParameters

      protected Map<String,String> requestParameters
  • Constructor Details

    • RepositoryGovernanceContext

      public RepositoryGovernanceContext(String userId, String requestType, Map<String,String> requestParameters, List<RequestSourceElement> requestSourceElements, List<ActionTargetElement> actionTargetElements)
      Constructor sets up the key parameters for processing the request to the governance action service.
      Parameters:
      userId - calling user
      requestType - unique identifier of the asset that the annotations should be attached to
      requestParameters - name-value properties to control the governance action service
      requestSourceElements - metadata elements associated with the request to the governance action service
      actionTargetElements - metadata elements that need to be worked on by the governance action service
  • Method Details