public class UserEvent extends EventListener
The combination of a UserEvent
and its associated
TUserEvent
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>
Constructor and Description |
---|
UserEvent(PlannableItem plannableItem,
Stage parent,
Integer instanceId)
Construct a user event listener.
|
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 |
getPlanItemTypeShort() |
boolean |
isAutoCompleteStage()
Get the value of the 'type' custom property configured on the event listener (optional) and compare it to 'autoComplete'.
|
boolean |
isForceVisibility() |
evaluateEntryCriteria, evaluateExitCriteria, isArmed, isRepetition
applyVisitor, getActionDescription, getActionName, getActionName, getActivationTime, getActiveChildrenCount, getActiveCount, getActiveCountInStage, getArmedEntrySentries, getArmedExitSentries, getAvailableChildrenCount, getAvailableCount, getAvailableCountInStage, getCasePlanModel, getChildInstanceCount, getClientId, getClientRef, 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, isBlocking, isCompletionNeutral, isManualActivation, isNonBlockingComplete, isOfSameHierarchy, isPending, isPreActivation, isRequired, isSemiTerminal, isTerminal, isTriggeredExitSentry, isWaitingOnChildren, isWaitingOnChildren, setClientId, setCustomState, setCustomState, setState, toString
public UserEvent(PlannableItem plannableItem, Stage parent, Integer instanceId)
Construct a user event listener. The user event listener is represented by plannableItem
. The user event listener
is created with the given parent stage as parent.
plannableItem
- the plannable itemparent
- the parent stageinstanceId
- the instance idpublic boolean isAutoCompleteStage()
Get the value of the 'type' custom property configured on the event listener (optional) and compare it to 'autoComplete'. If true this user event listener implements the stage auto completion functionality (see https://jira.edorasware.com/browse/CLD-7776).
public boolean isForceVisibility()
public String getPlanItemTypeShort()
getPlanItemTypeShort
in class PlanItem
public 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 EventListener
transitionData
- optional evaluation context.evaluationListeners
- the call-backs used to evaluate run-time action name expressions.null
.Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.