Interface DmnElementTransformHandlerRegistry
-
- All Known Implementing Classes:
DefaultElementTransformHandlerRegistry
public interface DmnElementTransformHandlerRegistryRegistry of DMN model element transformers
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <Source extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance,Target>
voidaddHandler(Class<Source> sourceClass, DmnElementTransformHandler<Source,Target> handler)Register aDmnElementTransformHandlerfor a source type<Source extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance,Target>
DmnElementTransformHandler<Source,Target>getHandler(Class<Source> sourceClass)Get the transformer for a source type
-
-
-
Method Detail
-
getHandler
<Source extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance,Target> DmnElementTransformHandler<Source,Target> getHandler(Class<Source> sourceClass)
Get the transformer for a source type- Type Parameters:
Source- the type of the transformation inputTarget- the type of the transformation output- Parameters:
sourceClass- the class of the source type- Returns:
- the
DmnElementTransformHandleror null if none is registered for this source type
-
addHandler
<Source extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance,Target> void addHandler(Class<Source> sourceClass, DmnElementTransformHandler<Source,Target> handler)
Register aDmnElementTransformHandlerfor a source type- Type Parameters:
Source- the type of the transformation inputTarget- the type of the transformation output- Parameters:
sourceClass- the class of the source typehandler- the handler to register
-
-