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,Set<GraphContext>> |
buildClassificationContext(EntityDetail entityDetail)
Gets asset context from the entity by classification type.
|
public ClassificationHandler(InvalidParameterHandler invalidParameterHandler, Set<String> lineageClassificationTypes, OMRSRepositoryHelper repositoryHelper)
invalidParameterHandler - the invalid parameter handlerpublic Map<String,Set<GraphContext>> buildClassificationContext(EntityDetail entityDetail) throws OCFCheckedExceptionBase
entityDetail - the entity for retrieving the classifications attached to itOCFCheckedExceptionBaseCopyright © 2018–2020 ODPi. All rights reserved.