Class ClassificationHandler
java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.handlers.ClassificationHandler
The Classification Handler maps classifications attached with an entity to an lineage entity.
-
Constructor Summary
ConstructorsConstructorDescriptionClassificationHandler(org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler invalidParameterHandler, HandlerHelper handlerHelper) Instantiates a new Classification handler. -
Method Summary
Modifier and TypeMethodDescriptionbuildClassificationContext(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entityDetail, org.odpi.openmetadata.accessservices.assetlineage.event.AssetLineageEventType assetLineageEventType) Builds the classification context for an entity.
-
Constructor Details
-
ClassificationHandler
public ClassificationHandler(org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler invalidParameterHandler, HandlerHelper handlerHelper) Instantiates a new Classification handler.- Parameters:
invalidParameterHandler- the invalid parameter handlerhandlerHelper- the helper handler
-
-
Method Details
-
buildClassificationContext
public Map<String,org.odpi.openmetadata.accessservices.assetlineage.model.RelationshipsContext> buildClassificationContext(org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entityDetail, org.odpi.openmetadata.accessservices.assetlineage.event.AssetLineageEventType assetLineageEventType) throws org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase Builds the classification context for an entity. Gets asset context from the entity by classification type.- Parameters:
entityDetail- the entity for retrieving the classifications attached to itassetLineageEventType- the event type to be published- Returns:
- the classification context of the entity
- Throws:
org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase
-