org.camunda.bpm.dmn.engine.impl.transform
Class DefaultElementTransformHandlerRegistry
java.lang.Object
org.camunda.bpm.dmn.engine.impl.transform.DefaultElementTransformHandlerRegistry
- All Implemented Interfaces:
- DmnElementTransformHandlerRegistry
public class DefaultElementTransformHandlerRegistry
- extends Object
- implements DmnElementTransformHandlerRegistry
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handlers
protected static final Map<Class<? extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance>,DmnElementTransformHandler> handlers
DefaultElementTransformHandlerRegistry
public DefaultElementTransformHandlerRegistry()
getDefaultElementTransformHandlers
protected static Map<Class<? extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance>,DmnElementTransformHandler> getDefaultElementTransformHandlers()
addHandler
public <Source extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance,Target> void addHandler(Class<Source> sourceClass,
DmnElementTransformHandler<Source,Target> handler)
- Description copied from interface:
DmnElementTransformHandlerRegistry
- Register a
DmnElementTransformHandler for a source type
- Specified by:
addHandler in interface DmnElementTransformHandlerRegistry
- 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
getHandler
public <Source extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance,Target> DmnElementTransformHandler<Source,Target> getHandler(Class<Source> sourceClass)
- Description copied from interface:
DmnElementTransformHandlerRegistry
- Get the transformer for a source type
- Specified by:
getHandler in interface DmnElementTransformHandlerRegistry
- 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
DmnElementTransformHandler or null if none is registered for this source type
Copyright © 2017 camunda services GmbH. All rights reserved.