public class TransitionMap extends Object
Lookup maps allowing to test for allowed plan item transitions according to <a href="http://www.omg.org/spec/CMMN/1.0/">CMMN specification 1.0</a>.
| Modifier and Type | Field and Description |
|---|---|
static boolean[][] |
CASE_TRANSITION_MAP |
static boolean[][] |
EVENT_TRANSITION_MAP |
static boolean[][] |
TASK_TRANSITION_MAP |
| Constructor and Description |
|---|
TransitionMap() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAllowedCaseTransition(PlanItemState state,
PlanItemTransition transition)
Test if a transition is allowed for a given case state.
|
static boolean |
isAllowedEventTransition(PlanItemState state,
PlanItemTransition transition)
Test if a transition is allowed for a given event or milestone state.
|
static boolean |
isAllowedTaskTransition(PlanItemState state,
PlanItemTransition transition)
Test if a transition is allowed for a given stage or task state.
|
public static boolean[][] CASE_TRANSITION_MAP
public static boolean[][] TASK_TRANSITION_MAP
public static boolean[][] EVENT_TRANSITION_MAP
public static boolean isAllowedCaseTransition(PlanItemState state, PlanItemTransition transition)
Test if a transition is allowed for a given case state.
state - the current state.transition - the intended transition.true if allowed, false otherwise.public static boolean isAllowedTaskTransition(PlanItemState state, PlanItemTransition transition)
Test if a transition is allowed for a given stage or task state.
state - the current state.transition - the intended transition.true if allowed, false otherwise.public static boolean isAllowedEventTransition(PlanItemState state, PlanItemTransition transition)
Test if a transition is allowed for a given event or milestone state.
state - the current state.transition - the intended transition.true if allowed, false otherwise.Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.