Interface DmnElementTransformHandlerRegistry

    • 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 input
        Target - 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
      • addHandler

        <Source extends org.camunda.bpm.model.dmn.instance.DmnModelElementInstance,​Target> void addHandler​(Class<Source> sourceClass,
                                                                                                                 DmnElementTransformHandler<Source,​Target> handler)
        Register a DmnElementTransformHandler for a source type
        Type Parameters:
        Source - the type of the transformation input
        Target - the type of the transformation output
        Parameters:
        sourceClass - the class of the source type
        handler - the handler to register