public abstract class ItemHandler extends CmmnElementHandler<CmmnElement,CmmnActivity>
Constructor and Description |
---|
ItemHandler() |
public static final String PROPERTY_AUTO_COMPLETE
public static final String PROPERTY_REQUIRED_RULE
public static final String PROPERTY_MANUAL_ACTIVATION_RULE
public static final String PROPERTY_REPETITION_RULE
public static final String PROPERTY_IS_BLOCKING
public static final String PROPERTY_DISCRETIONARY
public static final String PROPERTY_ACTIVITY_TYPE
public static final String PROPERTY_ACTIVITY_DESCRIPTION
public static List<String> EVENT_LISTENER_OR_MILESTONE_CREATE_EVENTS
public static List<String> EVENT_LISTENER_OR_MILESTONE_UPDATE_EVENTS
public static List<String> EVENT_LISTENER_OR_MILESTONE_END_EVENTS
protected CmmnActivity createActivity(CmmnElement element, CmmnHandlerContext context)
protected CmmnActivityBehavior getActivityBehavior()
public CmmnActivity handleElement(CmmnElement element, CmmnHandlerContext context)
ModelElementHandler
This method handles a element to create a new element.
handleElement
in interface ModelElementHandler<CmmnElement,CmmnHandlerContext,CmmnActivity>
handleElement
in class CmmnElementHandler<CmmnElement,CmmnActivity>
element
- the ModelElementInstance
to be handled.context
- the HandlerContext
which holds necessary information.protected void initializeActivity(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected void initializeActivityType(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected void initializeDescription(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected void initializeAutoComplete(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected void initializeRequiredRule(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected void initializeManualActivationRule(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected void initializeRepetitionRule(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected void initializeCaseExecutionListeners(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected CaseExecutionListener initializeCaseExecutionListener(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, CamundaCaseExecutionListener listener)
protected void initializeVariableListeners(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected CaseVariableListener initializeVariableListener(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, CamundaVariableListener listener)
protected ExecutableScript initializeScript(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, CamundaScript script)
protected List<FieldDeclaration> initializeFieldDeclarations(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, Collection<CamundaField> fields)
protected FieldDeclaration initializeFieldDeclaration(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, CamundaField field)
protected FixedValue getFixedValue(CamundaField field)
protected Expression getExpressionValue(CamundaField field, ExpressionManager expressionManager)
protected void initializeEntryCriterias(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected void initializeExitCriterias(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
protected PlanItemControl getDefaultControl(CmmnElement element)
protected <V extends ModelElementInstance> List<V> queryExtensionElementsByClass(CmmnElement element, Class<V> cls)
protected ExtensionElements getExtensionElements(CmmnElement element)
protected PlanItemControl getItemControl(CmmnElement element)
protected String getName(CmmnElement element)
protected PlanItemDefinition getDefinition(CmmnElement element)
protected Collection<Sentry> getEntryCriterias(CmmnElement element)
protected Collection<Sentry> getExitCriterias(CmmnElement element)
protected String getDesciption(CmmnElement element)
protected boolean isPlanItem(CmmnElement element)
protected boolean isDiscretionaryItem(CmmnElement element)
protected abstract List<String> getStandardEvents(CmmnElement element)
Copyright © 2018. All rights reserved.