org.camunda.bpm.engine.impl.cmmn.handler
Class CmmnElementHandler<T extends org.camunda.bpm.model.cmmn.instance.CmmnElement,E>

java.lang.Object
  extended by org.camunda.bpm.engine.impl.cmmn.handler.CmmnElementHandler<T,E>
All Implemented Interfaces:
ModelElementHandler<T,CmmnHandlerContext,E>
Direct Known Subclasses:
CaseHandler, ItemHandler, SentryHandler

public abstract class CmmnElementHandler<T extends org.camunda.bpm.model.cmmn.instance.CmmnElement,E>
extends Object
implements ModelElementHandler<T,CmmnHandlerContext,E>

This handler handles an instance of a CmmnElement to create a new activity.

Author:
Roman Smirnov

Constructor Summary
CmmnElementHandler()
           
 
Method Summary
abstract  E handleElement(T element, CmmnHandlerContext context)
          This method handles a element to create a new element.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CmmnElementHandler

public CmmnElementHandler()
Method Detail

handleElement

public abstract E handleElement(T element,
                                CmmnHandlerContext context)
Description copied from interface: ModelElementHandler

This method handles a element to create a new element.

Specified by:
handleElement in interface ModelElementHandler<T extends org.camunda.bpm.model.cmmn.instance.CmmnElement,CmmnHandlerContext,E>
Parameters:
element - the ModelElementInstance to be handled.
context - the HandlerContext which holds necessary information.
Returns:
a new element.


Copyright © 2017 camunda services GmbH. All rights reserved.