public class HumanTaskItemHandler extends TaskItemHandler
CASE_PLAN_MODEL_CLOSE_EVENTS, CASE_PLAN_MODEL_CREATE_EVENTS, CASE_PLAN_MODEL_EVENTS, CASE_PLAN_MODEL_UPDATE_EVENTS, DEFAULT_VARIABLE_EVENTS, EVENT_LISTENER_OR_MILESTONE_CREATE_EVENTS, EVENT_LISTENER_OR_MILESTONE_END_EVENTS, EVENT_LISTENER_OR_MILESTONE_EVENTS, EVENT_LISTENER_OR_MILESTONE_UPDATE_EVENTS, PARENT_COMPLETE, PROPERTY_ACTIVITY_DESCRIPTION, PROPERTY_ACTIVITY_TYPE, PROPERTY_AUTO_COMPLETE, PROPERTY_DISCRETIONARY, PROPERTY_IS_BLOCKING, PROPERTY_MANUAL_ACTIVATION_RULE, PROPERTY_REPETITION_RULE, PROPERTY_REQUIRED_RULE, TASK_OR_STAGE_CREATE_EVENTS, TASK_OR_STAGE_END_EVENTS, TASK_OR_STAGE_EVENTS, TASK_OR_STAGE_UPDATE_EVENTS
Constructor and Description |
---|
HumanTaskItemHandler() |
getStandardEvents, initializeBlocking
createActivity, getDefaultControl, getDesciption, getDocumentation, getEntryCriterias, getExitCriterias, getExpressionValue, getExtensionElements, getFixedValue, getItemControl, getName, initializeActivityType, initializeAutoComplete, initializeCaseControlRule, initializeCaseExecutionListener, initializeCaseExecutionListeners, initializeDescription, initializeEntryCriterias, initializeExitCriterias, initializeFieldDeclaration, initializeFieldDeclarations, initializeManualActivationRule, initializeRepetitionRule, initializeRequiredRule, initializeScript, initializeVariableListener, initializeVariableListeners, isDiscretionaryItem, isPlanItem, queryExtensionElementsByClass
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 ItemHandler
element
- the ModelElementInstance
to be handled.context
- the HandlerContext
which holds necessary information.protected void initializeActivity(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context)
initializeActivity
in class TaskItemHandler
protected TaskDefinition createTaskDefinition(CmmnElement element, CmmnHandlerContext context)
protected void initializeTaskDefinitionName(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskDefinitionFormKey(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskDefinitionAssignee(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskDefinitionCandidateUsers(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskDefinitionCandidateGroups(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskDefinitionDueDate(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskDefinitionFollowUpDate(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskDefinitionPriority(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskDescription(CmmnElement element, TaskDefinition taskDefinition, CmmnHandlerContext context)
protected void initializeTaskListeners(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, TaskDefinition taskDefinition)
protected TaskListener initializeTaskListener(CmmnElement element, CmmnActivity activity, CmmnHandlerContext context, CamundaTaskListener listener)
protected HumanTask getDefinition(CmmnElement element)
getDefinition
in class ItemHandler
protected CmmnActivityBehavior getActivityBehavior()
getActivityBehavior
in class TaskItemHandler
Copyright © 2017. All rights reserved.