public class ClassificationHandler extends Object
| Constructor and Description |
|---|
ClassificationHandler(InvalidParameterHandler invalidParameterHandler,
Set<String> lineageClassificationTypes,
OMRSRepositoryHelper repositoryHelper)
Instantiates a new Classification handler.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,RelationshipsContext> |
buildClassificationContext(EntityDetail entityDetail,
AssetLineageEventType assetLineageEventType)
Builds the classification context for an entity.
|
public ClassificationHandler(InvalidParameterHandler invalidParameterHandler, Set<String> lineageClassificationTypes, OMRSRepositoryHelper repositoryHelper)
invalidParameterHandler - the invalid parameter handlerpublic Map<String,RelationshipsContext> buildClassificationContext(EntityDetail entityDetail, AssetLineageEventType assetLineageEventType) throws OCFCheckedExceptionBase
entityDetail - the entity for retrieving the classifications attached to itassetLineageEventType - the event type to be publishedOCFCheckedExceptionBaseCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.