Class ProcessContextHandler
java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.handlers.ProcessContextHandler
The process context handler provides methods to build lineage context from processes.
-
Constructor Summary
ConstructorsConstructorDescriptionProcessContextHandler(AssetContextHandler assetContextHandler, HandlerHelper handlerHelper, List<String> supportedZones) Construct the handler information needed to interact with the repository services -
Method Summary
Modifier and TypeMethodDescriptioncom.google.common.collect.Multimap<String,org.odpi.openmetadata.accessservices.assetlineage.model.RelationshipsContext> buildProcessContext(String userId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail process) Retrieves the full context for a Process.
-
Constructor Details
-
ProcessContextHandler
public ProcessContextHandler(AssetContextHandler assetContextHandler, HandlerHelper handlerHelper, List<String> supportedZones) Construct the handler information needed to interact with the repository services- Parameters:
assetContextHandler- the asset context handlerhandlerHelper- the helper handlersupportedZones- configurable list of zones that Asset Lineage is allowed to retrieve Assets from
-
-
Method Details
-
buildProcessContext
public com.google.common.collect.Multimap<String,org.odpi.openmetadata.accessservices.assetlineage.model.RelationshipsContext> buildProcessContext(String userId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail process) throws org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase Retrieves the full context for a Process. This context contains the full description for the Port Aliases, Port Implementations, SchemaTypes and Tabular Columns related to the process.- Parameters:
userId- userId of user making request.process- the process entity for which the context is built- Returns:
- Map of the relationships between the Entities that are relevant to a Process
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase- checked exception for reporting errors found when using OCF connectors
-