Class ArchiveContext


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

      • userId

        protected String userId
      • requestType

        protected String requestType
    • Constructor Detail

      • ArchiveContext

        public ArchiveContext​(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