public class SentryHandler extends CmmnElementHandler<Sentry,CmmnSentryDeclaration>
Modifier and Type | Field and Description |
---|---|
protected static CmmnTransformerLogger |
LOG |
Constructor and Description |
---|
SentryHandler() |
protected static final CmmnTransformerLogger LOG
public CmmnSentryDeclaration handleElement(Sentry element, CmmnHandlerContext context)
ModelElementHandler
This method handles a element to create a new element.
handleElement
in interface ModelElementHandler<Sentry,CmmnHandlerContext,CmmnSentryDeclaration>
handleElement
in class CmmnElementHandler<Sentry,CmmnSentryDeclaration>
element
- the ModelElementInstance
to be handled.context
- the HandlerContext
which holds necessary information.public void initializeOnParts(Sentry sentry, CmmnHandlerContext context)
protected void initializeOnPart(PlanItemOnPart onPart, Sentry sentry, CmmnHandlerContext context)
protected void initializeOnPart(CaseFileItemOnPart onPart, Sentry sentry, CmmnHandlerContext context)
protected void initializeIfPart(IfPart ifPart, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context)
protected void initializeVariableOnParts(CmmnElement element, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context, List<CamundaVariableOnPart> variableOnParts)
protected void initializeVariableOnPart(CamundaVariableOnPart variableOnPart, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context)
protected <V extends ModelElementInstance> List<V> queryExtensionElementsByClass(CmmnElement element, Class<V> cls)
Copyright © 2020. All rights reserved.