public class HumanTask extends Task
The combination of a PlanItem and its associated
THumanTask definition.
<p>Do not rename this class. The name is part of public API. Moving the class to a different package, however, is possible.</p>
Task.ParamEntry| Constructor and Description |
|---|
HumanTask(PlannableItem plannableItem,
Stage parent,
Integer instanceId)
Construct a human task.
|
| Modifier and Type | Method and Description |
|---|---|
PlanItemAction |
createPlanItemAction(TransitionData transitionData,
EvaluationListeners evaluationListeners)
<p>Create an action object for the current state of this plan item.
|
String |
getClientRef()
Default implementation returning
null. |
String |
getIdVariableName() |
List<Task.ParamEntry> |
getInputMap() |
List<Task.ParamEntry> |
getOutputMap() |
String |
getPlanItemTypeShort() |
THumanTask |
getTHumanTask()
Typed getter for the generic
tPlanItemDefinition property. |
void |
setClientRef(String clientRef) |
applyVisitor, getActionDescription, getActionName, getActionName, getActivationTime, getActiveChildrenCount, getActiveCount, getActiveCountInStage, getArmedEntrySentries, getArmedExitSentries, getAvailableChildrenCount, getAvailableCount, getAvailableCountInStage, getCasePlanModel, getChildInstanceCount, getClientId, getCompletedChildrenCount, getCompletedCount, getCompletedCountInStage, getCustomAttribute, getCustomState, getCustomState, getDeferredEntrySentries, getDeferredExitSentries, getDescription, getDisabledChildrenCount, getDisabledCount, getDisabledCountInStage, getEnabledChildrenCount, getEnabledCount, getEnabledCountInStage, getExtensionType, getId, getIndexInStage, getInstanceCount, getInstanceCountInStage, getInstanceId, getInstanceIntId, getLastPlanItemTransition, getName, getName, getName, getNewPlanItemData, getParent, getParentInstanceId, getPlannableItem, getState, getTerminatedChildrenCount, getTerminatedCount, getTerminatedCountInStage, getTPlanItemDefinition, getTriggeredChildrenCount, getTriggeredCount, getTriggeredCountInStage, getTriggeredExitSentries, handlePlanItemTransition, isActionHidden, isArmed, isBlocking, isCompletionNeutral, isManualActivation, isNonBlockingComplete, isOfSameHierarchy, isPending, isPreActivation, isRepetition, isRequired, isSemiTerminal, isTerminal, isTriggeredExitSentry, isWaitingOnChildren, isWaitingOnChildren, setClientId, setCustomState, setCustomState, setState, toStringpublic HumanTask(PlannableItem plannableItem, Stage parent, Integer instanceId)
Construct a human task. The human task is represented by plannableItem. The human task
is created with the given parent stage as parent.
plannableItem - the plannable itemparent - the parent stageinstanceId - the instance idpublic void setClientRef(String clientRef)
clientRef - the client referencepublic String getClientRef()
PlanItemDefault implementation returning null.
getClientRef in class PlanItempublic String getPlanItemTypeShort()
getPlanItemTypeShort in class PlanItempublic PlanItemAction createPlanItemAction(TransitionData transitionData, EvaluationListeners evaluationListeners)
PlanItem<p>Create an action object for the current state of this plan item. For example, a user event listener in state Available should return an action triggering the 'occur' transition.</p> <p>These actions won’t be immediately executed. They are used to render appropriate GUI elements triggering the action based on the user clicking the action button.</p>
createPlanItemAction in class TasktransitionData - optional evaluation context.evaluationListeners - the call-backs used to evaluate run-time action name expressions.null.public List<Task.ParamEntry> getInputMap()
getInputMap in class Taskpublic List<Task.ParamEntry> getOutputMap()
getOutputMap in class Taskpublic String getIdVariableName()
getIdVariableName in class Taskpublic THumanTask getTHumanTask()
Typed getter for the generic tPlanItemDefinition property.
Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.