Class ClassificationHandler

java.lang.Object
org.odpi.openmetadata.accessservices.assetlineage.handlers.ClassificationHandler

public class ClassificationHandler extends Object
The Classification Handler maps classifications attached with an entity to an lineage entity.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClassificationHandler(org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler invalidParameterHandler, HandlerHelper handlerHelper)
    Instantiates a new Classification handler.
  • Method Summary

    Modifier and Type
    Method
    Description
    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)
    Builds the classification context for an entity.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ClassificationHandler

      public ClassificationHandler(org.odpi.openmetadata.commonservices.ffdc.InvalidParameterHandler invalidParameterHandler, HandlerHelper handlerHelper)
      Instantiates a new Classification handler.
      Parameters:
      invalidParameterHandler - the invalid parameter handler
      handlerHelper - 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 it
      assetLineageEventType - the event type to be published
      Returns:
      the classification context of the entity
      Throws:
      org.odpi.openmetadata.frameworks.connectors.ffdc.OCFCheckedExceptionBase