Class SentryHandler
java.lang.Object
org.camunda.bpm.engine.impl.cmmn.handler.CmmnElementHandler<Sentry,CmmnSentryDeclaration>
org.camunda.bpm.engine.impl.cmmn.handler.SentryHandler
- All Implemented Interfaces:
ModelElementHandler<Sentry,
CmmnHandlerContext, CmmnSentryDeclaration>
- Author:
- Roman Smirnov
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionhandleElement
(Sentry element, CmmnHandlerContext context) This method handles a element to create a new element.protected void
initializeIfPart
(IfPart ifPart, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context) protected void
initializeOnPart
(CaseFileItemOnPart onPart, Sentry sentry, CmmnHandlerContext context) protected void
initializeOnPart
(PlanItemOnPart onPart, Sentry sentry, CmmnHandlerContext context) void
initializeOnParts
(Sentry sentry, CmmnHandlerContext context) protected void
initializeVariableOnPart
(CamundaVariableOnPart variableOnPart, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context) protected void
initializeVariableOnParts
(CmmnElement element, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context, List<CamundaVariableOnPart> variableOnParts) protected <V extends ModelElementInstance>
List<V>queryExtensionElementsByClass
(CmmnElement element, Class<V> cls)
-
Field Details
-
LOG
-
-
Constructor Details
-
SentryHandler
public SentryHandler()
-
-
Method Details
-
handleElement
Description copied from interface:ModelElementHandler
This method handles a element to create a new element.
- Specified by:
handleElement
in interfaceModelElementHandler<Sentry,
CmmnHandlerContext, CmmnSentryDeclaration> - Specified by:
handleElement
in classCmmnElementHandler<Sentry,
CmmnSentryDeclaration> - Parameters:
element
- theModelElementInstance
to be handled.context
- theHandlerContext
which holds necessary information.- Returns:
- a new element.
-
initializeOnParts
-
initializeOnPart
-
initializeOnPart
protected void initializeOnPart(CaseFileItemOnPart onPart, Sentry sentry, CmmnHandlerContext context) -
initializeIfPart
protected void initializeIfPart(IfPart ifPart, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context) -
initializeVariableOnParts
protected void initializeVariableOnParts(CmmnElement element, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context, List<CamundaVariableOnPart> variableOnParts) -
initializeVariableOnPart
protected void initializeVariableOnPart(CamundaVariableOnPart variableOnPart, CmmnSentryDeclaration sentryDeclaration, CmmnHandlerContext context) -
queryExtensionElementsByClass
protected <V extends ModelElementInstance> List<V> queryExtensionElementsByClass(CmmnElement element, Class<V> cls)
-