public class ProcessContextHandler extends Object
| Constructor and Description |
|---|
ProcessContextHandler(InvalidParameterHandler invalidParameterHandler,
OMRSRepositoryHelper repositoryHelper,
RepositoryHandler repositoryHandler,
AssetContextHandler assetContextHandler,
List<String> supportedZones,
Set<String> lineageClassificationTypes)
Construct the handler information needed to interact with the repository services
|
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.Multimap<String,RelationshipsContext> |
buildProcessContext(String userId,
EntityDetail process)
Retrieves the full context for a Process.
|
public ProcessContextHandler(InvalidParameterHandler invalidParameterHandler, OMRSRepositoryHelper repositoryHelper, RepositoryHandler repositoryHandler, AssetContextHandler assetContextHandler, List<String> supportedZones, Set<String> lineageClassificationTypes)
invalidParameterHandler - 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 com.google.common.collect.Multimap<String,RelationshipsContext> buildProcessContext(String userId, EntityDetail process) throws OCFCheckedExceptionBase
userId - userId of user making request.process - the process entity for which the context is builtOCFCheckedExceptionBase - checked exception for reporting errors found when using OCF connectorsCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.