public class WildcardTransitionCriteria extends java.lang.Object implements TransitionCriteria, java.io.Serializable
Modifier and Type | Field and Description |
---|---|
static WildcardTransitionCriteria |
INSTANCE
Shared instance of a TransitionCriteria that always returns true.
|
static java.lang.String |
WILDCARD_EVENT_ID
Event id value ("*") that will cause the transition to match on any event.
|
Modifier and Type | Method and Description |
---|---|
boolean |
test(RequestContext context)
Check if the transition should fire based on the given flow execution request context.
|
java.lang.String |
toString() |
public static final java.lang.String WILDCARD_EVENT_ID
public static final WildcardTransitionCriteria INSTANCE
public boolean test(RequestContext context)
TransitionCriteria
test
in interface TransitionCriteria
context
- the flow execution request contextpublic java.lang.String toString()
toString
in class java.lang.Object