public class ProcessContextHandler extends Object
| Constructor and Description |
|---|
ProcessContextHandler(String serviceName,
String serverName,
InvalidParameterHandler invalidParameterHandler,
OMRSRepositoryHelper repositoryHelper,
RepositoryHandler repositoryHandler,
List<String> supportedZones)
Construct the discovery engine configuration handler caching the objects
needed to operate within a single server instance.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Set<GraphContext>> |
getProcessContext(String userId,
String processGuid)
Retrieves the full context for a Process
|
public ProcessContextHandler(String serviceName, String serverName, InvalidParameterHandler invalidParameterHandler, OMRSRepositoryHelper repositoryHelper, RepositoryHandler repositoryHandler, List<String> supportedZones)
serviceName - name of the consuming serviceserverName - name of this server instanceinvalidParameterHandler - handler for invalid parametersrepositoryHelper - helper used by the convertersrepositoryHandler - handler for calling the repository servicessupportedZones - configurable list of zones that Asset Lineage is allowed to retrieve Assets frompublic Map<String,Set<GraphContext>> getProcessContext(String userId, String processGuid)
userId - String - userId of user making request.processGuid - guid of the asset that has been createdCopyright © 2018–2020 ODPi. All rights reserved.